Skip to content
Snippets Groups Projects
Commit b11f7f9f 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
Branches
Tags v0.3.0
No related merge requests found
Pipeline #1188 passed
if ($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