Change redirect to HTTPS first to make HSTS work sometime
This commit is contained in:
@@ -8,7 +8,7 @@ server {
|
|||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
location / {
|
location / {
|
||||||
return 302 https://www.fet.at$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user