Board logo

标题: [求助] 新手求助 [打印本页]

作者: gangyedede    时间: 2017-6-14 18:10     标题: 新手求助

特殊原因 我要修改网站根目录 ,修改了默认配置的.conf文件后 怎么还是显示原来的网站页面 ,怎么回事,配置都是对的啊
这是我的配置!!!
  1. server {
  2.         listen       80;
  3.         root /www/web/glpc/public_html/m;
  4.         server_name m.xxxx.com m.xxxx.com;
  5.         index  index.html index.php index.htm;
  6.         error_page  400 /errpage/400.html;
  7.         error_page  403 /errpage/403.html;
  8.         error_page  404 /errpage/404.html;
  9.         error_page  503 /errpage/503.html;
  10.         location ~ \.php$ {
  11.                 proxy_pass http://127.0.0.1:88;
  12.                 include naproxy.conf;
  13.         }
  14.         location ~ /\.ht {
  15.                 deny  all;
  16.         }
  17.         location / {
  18.                 try_files $uri @apache;
  19.         }
  20.         location @apache {
  21.                  proxy_pass http://127.0.0.1:88;
  22.                  include naproxy.conf;
  23.         }
  24. }
复制代码





欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2