添加 ssl/force.conf
This commit is contained in:
commit
b4f11d3ee7
1 changed files with 3 additions and 0 deletions
3
ssl/force.conf
Normal file
3
ssl/force.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
if ($scheme = http) {
|
||||||
|
return 307 https://$http_host$request_uri;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue