diff --git a/nginx.conf b/nginx.conf index 9632d43..76bfd6d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,10 +1,10 @@ server { listen $PORT0; - location $BASE_HREF { - root /usr/share/nginx/html; + location $BASE_HREF/ { + alias /usr/share/nginx/html; index index.html index.htm; - try_files $uri $uri/ $BASE_HREF/index.html =404; + try_files $uri$args $uri$args/ $BASE_HREF/index.html =404; } include /etc/nginx/extra-conf.d/*.conf;