equal
deleted
inserted
replaced
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 |