1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 18:12:31 +01:00

remove fallback on try_files

This commit is contained in:
Marius 2022-07-23 12:11:19 +02:00
parent 76bfe40e39
commit 2213779573

View File

@ -13,7 +13,7 @@ server {
location / {
alias /config/www/;
try_files $uri $uri/ /index.html;
try_files $uri $uri/;
}
location /themepark {return 302 $scheme://$http_host/themepark/;}
location /themepark/ {
@ -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/ /index.html;
try_files $uri $uri/;
}
# Don't cache