mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-30 04:03:18 +01:00
10 lines
206 B
Nginx Configuration File
10 lines
206 B
Nginx Configuration File
|
if ($http_x_forwarded_proto != 'https') {
|
||
|
rewrite ^ https://$host$request_uri? permanent;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
try_files $uri @rewriteapp;
|
||
|
}
|
||
|
location @rewriteapp {
|
||
|
rewrite ^(.*)$ /index.php$1 last;
|
||
|
}
|