aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
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