Tweak nginx config to reflect current structure.
This commit is contained in:
parent
239e641f80
commit
d5de7cf281
@ -57,7 +57,7 @@ server {
|
||||
try_files $uri $uri/ @tkr_fallback;
|
||||
}
|
||||
|
||||
# Fallback for /tkr routing - all non-file requests go to index.php
|
||||
# Fallback for /tkr routing - all non-file requests (e.g. /login) go to index.php
|
||||
location @tkr_fallback {
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/html/tkr/public/index.php;
|
||||
@ -70,7 +70,7 @@ server {
|
||||
}
|
||||
|
||||
# Deny access to sensitive directories
|
||||
location ~ ^/tkr/(storage|lib|vendor|config) {
|
||||
location ~ ^/tkr/(storage|src|templates|vendor|config) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user