alias, not root.
This commit is contained in:
parent
a79515caa6
commit
a09dfc4e80
|
@ -1,10 +1,10 @@
|
||||||
server {
|
server {
|
||||||
listen $PORT0;
|
listen $PORT0;
|
||||||
|
|
||||||
location $BASE_HREF {
|
location $BASE_HREF/ {
|
||||||
root /usr/share/nginx/html;
|
alias /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
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;
|
include /etc/nginx/extra-conf.d/*.conf;
|
||||||
|
|
Loading…
Reference in New Issue