标签:break rewrite server 静态 oca dex nginx color index.php
server {
listen 80;
server_name all.bjed.com;
root "F:\www\asdata";
location / {
index index.html index.htm index.php;
#autoindex on;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
标签:break rewrite server 静态 oca dex nginx color index.php
原文地址:https://www.cnblogs.com/supe/p/10225487.html