Commit 9738dded authored by nimrod's avatar nimrod
Browse files

Support Upgrade-Insecure-Requests.

Snippet to redirect to https if Upgrade-Insecure-Requests is set in the
request.
parent 430cc99d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
if ($http_Upgrade-Insecure-Requests = 1) { return 301 https://$host$request_uri; }