update
This commit is contained in:
parent
c50569d73e
commit
a624163120
27 changed files with 215 additions and 6 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# Preserve the request method during HTTP->HTTPS upgrades. 301 is more common,
|
||||
# but 307 avoids surprising POST-to-GET rewrites on login and webhook paths.
|
||||
if ($scheme = http) {
|
||||
return 307 https://$http_host$request_uri;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue