November 28, 2011 05:44AM
I need to add a lot of sub-domains to a configuration file as users register on our website our script needs to add the sub-domain. Is it possible to use a variable or function in the config file so it loads a remote file which has sub-domains listed one per line? It would be easier for our developers to add a sub-domain one per line into a file. Then trying to add them into the configuration file directly.

server_name $some-function;
Subject Author Posted

Is it possible to use a remote file to store servernames? server_name $somevariable-file?

anagio November 28, 2011 05:44AM

Re: Is it possible to use a remote file to store servernames? server_name $somevariable-file?

Ruslan Ermilov November 28, 2011 06:46AM

Re: Is it possible to use a remote file to store servernames? server_name $somevariable-file?

anagio November 28, 2011 06:52AM

Re: Is it possible to use a remote file to store servernames? server_name $somevariable-file?

Ruslan Ermilov November 28, 2011 07:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 320
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