I explained the level two domain name on the IP, when the level two domain name did not let him visit the main station address
This post was last edited by Liaohongchu on 2012-11-21 16:42:50
Like the main station www.xinqq163.com/index.html.
I made a level two domain name tm.xinqq163.com also explained on the IP
In this case tm.xinqq163.com/index.html can also access, so the collection is not good, how to limit not let him visit it
Nginx Pseudo-Static
Location/{
Rewrite ^ (. *)/item/([0-9]+) \.html$/plus/list.php?tid=$2&relationtid=$2 last;
}
Can I limit the Nginx server?
------Solution--------------------
Your different domains are separated by server{}.
------Solution--------------------
Tm.xinqq163.com Why to point to the same IP, is two sites?? If yes, will not access the same content, if not, tm.xinqq163.com Direct 301 redirect on it can be