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
+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=;