aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-14 00:37:11 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-14 00:37:11 +0200
commit06e736c7947e3ae43779d8035542896a78227fa0 (patch)
tree8778e2704cbd97773cdd4bbff63a1aa3b7f13912 /readme.md
parent792239a8af9ff0101d259375ec402cc3ee687594 (diff)
downloadgnix-06e736c7947e3ae43779d8035542896a78227fa0.tar
gnix-06e736c7947e3ae43779d8035542896a78227fa0.tar.bz2
gnix-06e736c7947e3ae43779d8035542896a78227fa0.tar.zst
fix many things in upgrade_insecure moduleHEADmaster
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index fa7587a..384c3d7 100644
--- a/readme.md
+++ b/readme.md
@@ -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