摘要: location /wss { proxy_pass http://项目; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_a 阅读全文
posted @ 2017-12-02 14:26 无限REIZ 阅读(314) 评论(0) 推荐(0) 编辑
摘要: location / { root 项目名称; index index.html index.php; try_files $uri $uri/ =404; if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; #重点 } 阅读全文
posted @ 2017-12-02 14:18 无限REIZ 阅读(146) 评论(0) 推荐(0) 编辑