From 06e736c7947e3ae43779d8035542896a78227fa0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 14 Sep 2025 00:37:11 +0200 Subject: fix many things in upgrade_insecure module --- readme.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'readme.md') 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 -- cgit v1.2.3-70-g09d2