Merge branch 'dev' into rrt/production
This commit is contained in:
commit
3977532d6c
|
@ -1,11 +1,12 @@
|
||||||
server {
|
server {
|
||||||
listen $PORT0;
|
listen $PORT0;
|
||||||
|
|
||||||
|
port_in_redirect off;
|
||||||
|
|
||||||
location $BASE_HREF/ {
|
location $BASE_HREF/ {
|
||||||
alias /etc/nginx/html/;
|
alias /etc/nginx/html/;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
try_files $uri$args $uri$args/ $uri $BASE_HREF/index.html;
|
try_files $uri$args $uri $BASE_HREF/index.html;
|
||||||
rewrite ^([^.]*[^/])$ $1/ permanent;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue