diff options
author | Christoph (Sheogorath) Kern | 2018-01-22 20:43:46 +0100 |
---|---|---|
committer | GitHub | 2018-01-22 20:43:46 +0100 |
commit | 7de6e3211f797ed9e9e5ca3d52181f77abf030d0 (patch) | |
tree | 8dc88e060df51106eedda199fe7ea571d0ffd5b4 /config.json.example | |
parent | fbfe3272f58232e6a7e46a82232b4dab065e2390 (diff) | |
parent | 3a752fde5117e800d65e26cbe7b15d65eb5b491e (diff) |
Merge pull request #598 from xxyy/feature/csp
Implement basic CSP support
Diffstat (limited to 'config.json.example')
-rw-r--r-- | config.json.example | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/config.json.example b/config.json.example index c2c270c3..f5ddf182 100644 --- a/config.json.example +++ b/config.json.example @@ -17,10 +17,17 @@ "production": { "domain": "localhost", "hsts": { - "enable": "true", + "enable": true, "maxAgeSeconds": "31536000", - "includeSubdomains": "true", - "preload": "true" + "includeSubdomains": true, + "preload": true + }, + csp: { + "enable": true, + "directives": { + }, + "upgradeInsecureRequests": "auto" + "addDefaults": true }, "db": { "username": "", |