No need to add trailing slashes?
This commit is contained in:
parent
8b438a8114
commit
d015679cd9
|
@ -4,8 +4,7 @@ server {
|
|||
location $BASE_HREF/ {
|
||||
alias /etc/nginx/html/;
|
||||
index index.html index.htm;
|
||||
try_files $uri$args $uri$args/ $uri $BASE_HREF/index.html;
|
||||
rewrite ^([^.]*[^/])$ $1/ permanent;
|
||||
try_files $uri$args $uri $BASE_HREF/index.html;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue