Mercurial > prosody-modules
comparison mod_strict_https/README.markdown @ 1803:4d73a1a6ba68
Convert all wiki pages to Markdown
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Aug 2015 18:03:58 +0200 |
parents | mod_strict_https/README.wiki@29f3d6b7ad16 |
children | 0c8e6269ea38 |
comparison
equal
deleted
inserted
replaced
1802:0ab737feada6 | 1803:4d73a1a6ba68 |
---|---|
1 --- | |
2 labels: | |
3 summary: HTTP Strict Transport Security | |
4 ... | |
5 | |
6 Introduction | |
7 ============ | |
8 | |
9 This module implements [HTTP Strict Transport | |
10 Security](https://tools.ietf.org/html/rfc6797) and responds to all | |
11 non-HTTPS requests with a `301 Moved Permanently` redirect to the HTTPS | |
12 equivalent of the path. | |
13 | |
14 Configuration | |
15 ============= | |
16 | |
17 Add the module to the `modules_enabled` list and optionally configure | |
18 the specific header sent. | |
19 | |
20 modules_enabled = { | |
21 ... | |
22 "strict_https"; | |
23 } | |
24 hsts_header = "max-age=31556952" | |
25 | |
26 Compatibility | |
27 ============= | |
28 | |
29 ------- -------------- | |
30 trunk Works | |
31 0.9 Works | |
32 0.8 Doesn't work | |
33 ------- -------------- |