Apply suggestions from code review

This commit is contained in:
Sebastian Gumprich
2022-02-06 21:18:22 +00:00
committed by GitHub
parent 0fb23cc6fe
commit 55ae72b326
7 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
APP_ENV=production
APP_DEBUG=true
APP_DEBUG=false
APP_NAME="Invoice Ninja"
APP_URL=https://__DOMAIN__
APP_KEY=__APP_KEY__
+4
View File
@@ -15,6 +15,10 @@ location ^~ __PATH__/ {
more_set_headers "Referrer-Policy: no-referrer";
index index.php index.html index.htm;
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q= last;
}
try_files $uri $uri/ __PATH__/__PATH__/index.php?q=;