v2
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@
|
||||
location ^~ __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/public/;
|
||||
alias __INSTALL_DIR__/public/;
|
||||
|
||||
# Add headers to serve security related headers
|
||||
more_set_headers "Strict-Transport-Security: max-age=15768000; includeSubDomains; preload;";
|
||||
@@ -52,7 +52,7 @@ location ^~ __PATH__/ {
|
||||
}
|
||||
|
||||
location ~* \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ {
|
||||
try_files $uri __FINALPATH__/public/index.php$request_uri;
|
||||
try_files $uri __INSTALL_DIR__/public/index.php$request_uri;
|
||||
# Optional: Don't log access to other assets
|
||||
access_log off;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user