2020-02-01 15:48:01 +00:00
|
|
|
server {
|
2020-05-17 02:18:16 +00:00
|
|
|
listen $PORT0;
|
2020-05-25 12:39:50 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
index index.html index.htm;
|
|
|
|
try_files $uri$args $uri$args/ /index.html =404;
|
|
|
|
}
|
2020-05-24 02:54:10 +00:00
|
|
|
|
2020-05-24 03:55:43 +00:00
|
|
|
location $BASE_HREF/ {
|
2020-05-23 22:55:13 +00:00
|
|
|
alias /usr/share/nginx/html;
|
2020-05-25 12:39:50 +00:00
|
|
|
index index.html index.htm;
|
2020-05-24 03:55:43 +00:00
|
|
|
try_files $uri$args $uri$args/ $BASE_HREF/index.html =404;
|
2020-02-01 15:48:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
include /etc/nginx/extra-conf.d/*.conf;
|
|
|
|
}
|
2020-05-24 02:54:10 +00:00
|
|
|
|