This commit is contained in:
Adrian Hopek
2022-03-15 11:41:27 +01:00
parent cdb8a50dfb
commit eb3c939dd5
9 changed files with 13 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
if ($http_x_forwarded_proto != 'https') {
rewrite ^ https://$host$request_uri? permanent;
}
location / {
try_files $uri @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /index.php$1 last;
}