2011年2月18日星期五

Re: remove www from the url

server {
listen 80;
server_name test.co.uk;
rewrite ^ http://www.test.co.uk$request_uri permanent;
}

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,176137,176375#msg-176375


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论