#The default server ;
server {
listen 80;
server_name www.ingzsz.cn  www.ingzsz.cn;
root /usr/share/nginx/discuz;
location / {
index index.php index.html index.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
include /etc/nginx/rewrite.d/*.conf;
}

server {
listen 80;
server_name www.020wanzu.com 020wanzu.com;
return 301 http://www.ingzsz.cn$request_uri;
}

posted on 2019-08-27 17:22  e度空间  阅读(168)  评论(0编辑  收藏  举报