Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #1192 passed
if ($http_Upgrade-Insecure-Requests = 1) { return 301 https://$host$request_uri; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment