mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-20 18:12:31 +01:00
fixex 500 error on root location
This commit is contained in:
parent
2213779573
commit
f7a419f22d
@ -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/ {
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user