2020-02-01 15:48:01 +00:00
|
|
|
server {
|
2020-05-17 02:18:16 +00:00
|
|
|
listen $PORT0;
|
2020-02-01 15:48:01 +00:00
|
|
|
|
2020-05-23 22:55:13 +00:00
|
|
|
location $BASE_HREF/ {
|
|
|
|
alias /usr/share/nginx/html;
|
2020-02-01 15:48:01 +00:00
|
|
|
index index.html index.htm;
|
2020-05-23 22:55:13 +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;
|
|
|
|
}
|