whatsns程序放在目录里的伪静态规则
2022-02-18 17:00:01
深海科技
location /m/ {
index index.html;
try_files $uri $uri/ /m/index.html;
}
location /member/ {
index index.html;
try_files $uri $uri/ /member/index.html;
}
location /wenda/ {
if (!-e $request_filename) {
rewrite ^/(.*)$ /wenda/index.php?$1;
}
}
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}