add comment explaining HTTPS redirect approach
This commit is contained in:
parent
4559b800f0
commit
d29f7ed91b
@ -86,6 +86,7 @@ http {
|
|||||||
|
|
||||||
root /var/empty;
|
root /var/empty;
|
||||||
|
|
||||||
|
# use $host to set up HSTS for redirect domains
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user