摘要:
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 阅读全文
摘要:
location / { root 项目名称; index index.html index.php; try_files $uri $uri/ =404; if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; #重点 } 阅读全文