Comparison

mod_strict_https/README.markdown @ 5415:f8797e3284ff

mod_strict_https: Add way to disable redirect Since Prosody 0.12+ does not listen on unencrypted http anymore, this is likely to cause trouble. Especially since the URL construction is problematic and awkward.
author Kim Alvefur <zash@zash.se>
date Wed, 03 May 2023 10:55:22 +0200
parent 5414:0c8e6269ea38
comparison
equal deleted inserted replaced
5414:0c8e6269ea38 5415:f8797e3284ff
19 "strict_https"; 19 "strict_https";
20 } 20 }
21 hsts_header = "max-age=31556952" 21 hsts_header = "max-age=31556952"
22 ``` 22 ```
23 23
24 If the redirect from `http://` to `https://` causes trouble with
25 internal use of HTTP APIs it can be disabled:
26
27 ``` lua
28 hsts_redirect = false
29 ```
30
24 # Compatibility 31 # Compatibility
25 32
26 ------- ------------- 33 ------- -------------
27 trunk Should work 34 trunk Should work
28 0.12 Should work 35 0.12 Should work