Nginx 301跳转的配置文件

server {
listen 80;
server_name lanxinbase.cn www.lanxinbase.cn;
rewrite ^/(.*)$ http://www.lanxinbase.com/$1 permanent;

}

Leave a Comment

 
Copyright © 2008-2021 lanxinbase.com Rights Reserved. | 粤ICP备14086738号-3 |