-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
nginx config should hide the server version by default #104
Comments
Hi farmergreg, Thank you for your suggestion, but I am not sure it is this image's task to fiddle more than the bare minimum with configuration settings. The reason for this is that I want it to be as close to the original Nginx image as possible, with the exception of automatic certificate creation/renewal. An easy solution would be to add a custom configuration file that is loaded before any other, e.g. a file called |
Thanks @JonasAlfredsson for the fast response. I'll do that. |
Are you satisfied with the solution so we can close the issue? |
Thanks for asking. Using a custom config that loads first is working well for me. |
I think it would be good to add:
server_tokens off;
to the nginx configs
The text was updated successfully, but these errors were encountered: