nginx linux packages

Sergey Budnevitch sb at waeme.net
Wed Aug 31 10:07:37 UTC 2011


On 26.08.2011, at 22:18, Cliff Wells wrote:

> One small suggestion for nginx.conf.  Rather than using:
> 
> include /etc/nginx/conf.d/*;
> 
> I'd suggest 
> 
> include /etc/nginx/conf.d/*.conf;
> 
> This prevents backup/temporary files that are typically created by
> editors from being processed as valid configuration (e.g. default~,
> #default#, etc). 

I agree, It makes sense to replace * with *.conf. Added in 1.0.6. 

There may be the situation when you have not touched default nginx.conf,
so it would be upgraded, but config files without .conf suffix were added
to conf.d dir, and they would not be included after upgrade. I have no idea how 
to fix it with post/pre install scripts correctly, so check your configs after upgrade.



More information about the nginx mailing list