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;