Welcome! Log In Create A New Profile

Advanced

Include common configuration (location, .if, ...)

Posted by spirit 
Include common configuration (location, .if, ...)
December 11, 2009 07:24AM
Hi! On many of my vhost config files I have common lines of config including location directives, conditional if...
Is it possible to have one file for those conf and then include the file in every vhost?

I can include params (like fastcgi_param) but I'm not sure if location, if, ... can be included too?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 231
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready