2FAuth/nginx.conf

10 lines
206 B
Nginx Configuration File
Raw Normal View History

2022-04-14 09:35:45 +00:00
if ($http_x_forwarded_proto != 'https') {
rewrite ^ https://$host$request_uri? permanent;
}
location / {
try_files $uri @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /index.php$1 last;
}