diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-14 00:37:11 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-14 00:37:11 +0200 |
commit | 06e736c7947e3ae43779d8035542896a78227fa0 (patch) | |
tree | 8778e2704cbd97773cdd4bbff63a1aa3b7f13912 /readme.md | |
parent | 792239a8af9ff0101d259375ec402cc3ee687594 (diff) | |
download | gnix-06e736c7947e3ae43779d8035542896a78227fa0.tar gnix-06e736c7947e3ae43779d8035542896a78227fa0.tar.bz2 gnix-06e736c7947e3ae43779d8035542896a78227fa0.tar.zst |
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -301,6 +301,13 @@ themselves; in that case the request is passed on. - Replies with information about the request to debug. Includes source address, HTTP version, method, URI and headers. +- **module `upgrade_insecure`** + - Redirects requests from HTTP to HTTPS when `Upgrade-Insecure-Requests` is + present in the request. The redirect URI's authority will be the `Host` + header of the request. **Do not use behind another proxy** because requests + will always be HTTP and result in an endless redirect loop. + - Takes a single module (as a single-element array because of a parser limitation) + #### Credentials config format Login credentials for `cookie_auth` and `http_basic_auth` are supplied as either |