-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/etc/nginx/conf.d/, not /etc/nginx/sites-enabled/ #12
Comments
It also includes:
You can make sure of this by running or
Then review the resulting file. |
Not seeing any reference to |
I agree @nick-allen Note that "site-enabled" is a "debian model" (not a bad ideao BTW) that is not the common method. Centos, RedHat and so on doesn't use that method. nginx image should change configuration to include site-enabled. UPDATE: the build process could add "conf.d/sites-enabled.conf" files that include "sites-enabled" too... |
I come back to confirm @nick-allen |
Yea, that works perfectly fine. |
/etc/nginx/conf.d have to be used instead /etc/nginx/sites-enabled
I lost 2 hours on it. I just added a pull request #18 to modify documentation. |
👍 @pilerou |
thanks for this ticket.... |
It looks like #18 was merged. Should this issue be closed now? |
Any chance we can put this in the Docker Hub documentation? |
So does this mean I have to create an |
@JamesTheHacker You only need to put your configuration un "/etc/nginx/conf.d" directory inside the container (via volume, or via ADD in Dockerfile). |
currently, the nginx.conf file includes this:
The text was updated successfully, but these errors were encountered: