Skip to content

Commit

Permalink
Merge pull request #402 from GilbN/develop
Browse files Browse the repository at this point in the history
fixex 500 error on root location
  • Loading branch information
GilbN authored Jul 23, 2022
2 parents 80c6d7b + f7a419f commit 7034167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/root/defaults/default
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ server {

location / {
alias /config/www/;
try_files $uri $uri/;
try_files $uri $uri/ =404;
}
location /themepark {return 302 $scheme://$http_host/themepark/;}
location /themepark/ {
Expand All @@ -22,7 +22,7 @@ server {
sub_filter 'url("/css/' 'url("/themepark/css/';
sub_filter 'url(/resources/' 'url(/themepark/resources/';
sub_filter_once off;
try_files $uri $uri/;
try_files $uri $uri/ =404;
}

# Don't cache
Expand Down

0 comments on commit 7034167

Please sign in to comment.