Is it possible to use a remote file to store servernames? server_name $somevariable-file?
nginx-forum at nginx.us
Mon Nov 28 10:44:32 UTC 2011
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.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219193,219193#msg-219193
More information about the nginx