2020-02-01 15:48:01 +00:00
|
|
|
server {
|
2020-05-17 02:18:16 +00:00
|
|
|
listen $PORT0;
|
2020-05-24 02:54:10 +00:00
|
|
|
|
2020-05-24 03:55:43 +00:00
|
|
|
location $BASE_HREF/ {
|
2020-05-25 15:51:57 +00:00
|
|
|
root /usr/share/nginx/html;
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2020-05-25 15:51:57 +00:00
|
|
|
error_page 404 $BASE_HREF/index.html
|
|
|
|
|
2020-02-01 15:48:01 +00:00
|
|
|
include /etc/nginx/extra-conf.d/*.conf;
|
|
|
|
}
|
2020-05-24 02:54:10 +00:00
|
|
|
|