This commit is contained in:
Éric Gaspar
2023-06-05 10:48:49 +02:00
parent c78fc1b774
commit 88d12f0aab
22 changed files with 134 additions and 1283 deletions
+2 -2
View File
@@ -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;
}