Merge branch 'dev' into rrt/production

This commit is contained in:
Aaron Louie 2020-05-27 10:06:17 -04:00
commit 3977532d6c
1 changed files with 3 additions and 2 deletions

View File

@ -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;
} }
} }