Removes the extra $uri/ thing
This commit is contained in:
parent
c406cbcc00
commit
8b438a8114
|
@ -4,7 +4,7 @@ server {
|
||||||
location $BASE_HREF/ {
|
location $BASE_HREF/ {
|
||||||
alias /etc/nginx/html/;
|
alias /etc/nginx/html/;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
try_files $uri$args $uri$args/ $uri $uri/ $BASE_HREF/index.html;
|
try_files $uri$args $uri$args/ $uri $BASE_HREF/index.html;
|
||||||
rewrite ^([^.]*[^/])$ $1/ permanent;
|
rewrite ^([^.]*[^/])$ $1/ permanent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue