Is it possible to use a remote file to store servernames? server_name $somevariable-file?
ru at nginx.com
Mon Nov 28 11:51:09 UTC 2011
On Mon, Nov 28, 2011 at 05:44:32AM -0500, anagio wrote:
> 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;
More information about the nginx