add comment explaining HTTPS redirect approach
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user