Removes the extra $uri/ thing

This commit is contained in:
Aaron Louie 2020-05-26 22:03:47 -04:00
parent c406cbcc00
commit 8b438a8114
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }