lnmpa中nginx的Index设置无效
index index.html index.htm index.php default.html default.htm default.php;这个没用了。。。 location / {
rewrite /diary/(+)/$ /diary/$1/index.html last;
rewrite /related/(+)/$ /related/$1/index.html last;
try_files $uri @apache;
}
location @apache {
internal;
proxy_pass http://127.0.0.1:88;
include proxy.conf;
}
这样才过 郁闷啊
页:
[1]