diff --git a/nginx.conf b/nginx.conf index bb60d4e..4b00bec 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,7 +4,7 @@ server { location $BASE_HREF/ { alias /etc/nginx/html/; 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; } }