I explained the second-level domain name on the IP address. when the second-level domain name does not allow him to access the address book of the main site, the second-level domain name is edited by liaohongchu from 2012-11-2116:42:50; tm.xinqq163.com & nbsp; this is also explained on the IP address & nbsp; tm. I interpret the second-level domain name on the IP address. when the second-level domain name does not allow him to access the address of the main site
This post was last edited by liaohongchu at 16:42:50, January 21 ,.
For example, the main site www.xinqq163.com/index.html
I made a second-level domain name tm.xinqq163.com and explained it to the IP address.
In this case, tm.xinqq163.com/index.html can also be accessed, which is not good for indexing. how can I restrict access by him?
Nginx pseudo-static
Location /{
Rewrite ^ (. *)/item/([0-9] +) \. html $/plus/list. php? Tid = $2 & relationtid = $2 last;
}
Can I limit the number of nginx servers?
------ Solution --------------------
Your Domain names are separated by server {}.
------ Solution --------------------
Why does tm.xinqq163.com point to the same IP address? are there two websites ?? If yes, the same content will not be accessed. if not, you can directly redirect tm.xinqq163.com to 301.