Software /
code /
prosody-modules
Comparison
mod_strict_https/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2015 16:43:56 +0200 |
comparison
equal
deleted
inserted
replaced
1781:12ac88940fe3 | 1782:29f3d6b7ad16 |
---|---|
1 #summary HTTP Strict Transport Security | |
2 | |
3 = Introduction = | |
4 | |
5 This module implements [https://tools.ietf.org/html/rfc6797 HTTP Strict Transport Security] | |
6 and responds to all non-HTTPS requests with a `301 Moved Permanently` redirect to the HTTPS | |
7 equivalent of the path. | |
8 | |
9 = Configuration = | |
10 | |
11 Add the module to the `modules_enabled` list and optionally configure the specific header sent. | |
12 | |
13 {{{ | |
14 modules_enabled = { | |
15 ... | |
16 "strict_https"; | |
17 } | |
18 hsts_header = "max-age=31556952" | |
19 }}} | |
20 | |
21 = Compatibility = | |
22 ||trunk||Works|| | |
23 ||0.9||Works|| | |
24 ||0.8||Doesn't work|| |