Sub-domain filtering

ronin nginx-forum at
Mon Aug 19 06:05:00 UTC 2013

I am using the statement is:
if ($ host! =| {rewrite ^ / (. *) $
$ 1 permanent;}
This page contains a redirect loop occurs causing the problem can not access
the site, I ask you how to handle this statement to be compatible with
multiple subdomains, thank you

Posted at Nginx Forum:,242007,242007#msg-242007

More information about the nginx mailing list