nginx.config
location / {
index index.html index.htm index.php l.php;
try_files $uri \(uri</span>/ /index.php?<span style="color: #000000;">\)query_string; #加上这行
if (!-e \(request_filename) { rewrite ^(.*)\) /index.php?s=$1 last; break; } #或者这一行
autoindex off;
}
|
请发表评论