Avice for my vhost configuration
reallfqq-nginx at yahoo.fr
Tue Aug 6 00:40:57 UTC 2013
Yup, include is the way I would do that personally.
The funny thing is you already are using the 'include' directive: look at
your 'include fastcgi_params;' line. There must be a 'fastcgi_params' file
in your configuration directory...
That probably comes from the part you copied/pasted from the sample doc.
The way to go would be to put the redundant configuration part in it then
call it wherever necessary in the vhosts conf.
The docs tell you that include can be used in any context you wish, you
just need to decide on the granularity.
Hope I helped,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx