Try this rewrite rule
This commit is contained in:
parent
486da6d76f
commit
13f69fba07
@ -28,6 +28,10 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
try_files /dev/null @api;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user