mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 03:05:19 -04:00
Make HSTS behaviour configurable; Fixes #584
This commit is contained in:
parent
53c2d0b5ca
commit
56411ca0e1
4 changed files with 26 additions and 5 deletions
|
@ -7,6 +7,12 @@ module.exports = {
|
|||
urladdport: false,
|
||||
alloworigin: ['localhost'],
|
||||
usessl: false,
|
||||
hsts: {
|
||||
enable: true,
|
||||
maxAgeSeconds: 31536000,
|
||||
includeSubdomains: true,
|
||||
preload: true
|
||||
},
|
||||
protocolusessl: false,
|
||||
usecdn: true,
|
||||
allowanonymous: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue