I've searched in the forum but haven't found an answer or solution, so thought I'd open a new thread for this.
I have several domainnames that have a (highly) customized nginx.conf file. I know that as admin in DA there's the "Custom HTTPD Configurations" option, but this only gives the possibility to change document roots etc, not add extra blocks within the nginx.conf file (as far as I'm aware).
Another option would be to modify the nginx_server.conf and nginx_server_secure.conf templates with IF/THEN/ELSE statements for each domain, but it would become a huge messy template.
So my question is, is there another (better) solution for per-domain or per-user nginx.conf files?
Thanks in advance!
I have several domainnames that have a (highly) customized nginx.conf file. I know that as admin in DA there's the "Custom HTTPD Configurations" option, but this only gives the possibility to change document roots etc, not add extra blocks within the nginx.conf file (as far as I'm aware).
Another option would be to modify the nginx_server.conf and nginx_server_secure.conf templates with IF/THEN/ELSE statements for each domain, but it would become a huge messy template.
So my question is, is there another (better) solution for per-domain or per-user nginx.conf files?
Thanks in advance!