nginxinc / docker-nginx

Official NGINX Dockerfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Advanced default settings

Friz-zy opened this issue · comments

The problem: nginx comes with almost no good default configs, so people copy paste bad or not optimized templates from the internet over and over again... Even the official nginx wiki contains segmental snippets. Because of this, different people have created different compilations and libraries, for example:

My own collection includes separate configs for ssl best practice from mozilla, security, forwarding from LBs, caching, compression, custom log formats and so one. I moved all configs from nginx.conf into separate files in conf.d so it can be easily overrided. I don't pretend to include my own configs into official nginx packages and docker images, but it would be great if you add some good configs at least as snippets, and even better if you add them as default configs. :)

Thanks, but that is not something we would like to have included.