variable for domain name in redirect

shiz nginx-forum at forum.nginx.org
Sun Jul 1 19:56:59 UTC 2018


> In most cases, $server_name is the variable you want.

Thanks so much.  Works like a charm.  This simplifies my
configuration/maintenance a lot.

Best!

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280353,280360#msg-280360



More information about the nginx mailing list