Yup, include is the way I would do that personally. Documentation: http://nginx.org/en/docs/ngx_core_module.html#include 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, --- *B. R.*
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx