Question regarding Nginx Configuration

Reinis Rozitis r at roze.lv
Sat Oct 1 01:49:38 UTC 2011


> Is it possible for location blocks to exist within the main http block at 
> a higher level than the server block?

No, but if you have a lots of repeating configuration/locations in the 
server blocks you can move those to a seperate file and then use include ( 
http://wiki.nginx.org/CoreModule#include ) instead.


rr 



More information about the nginx mailing list