Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Sub-domain filtering (1 reply)

$
0
0
I am using the statement is:
if ($ host! = www.mj.com|ci.mj.com) {rewrite ^ / (. *) $ http://www.mj.com/ $ 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

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>