mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
httpd: allow to restrict allowed hosts ...
... and to add security headers to the responses Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
15
sftpgo.json
15
sftpgo.json
@@ -227,6 +227,21 @@
|
||||
"redirect_base_url": "",
|
||||
"username_field": "",
|
||||
"role_field": ""
|
||||
},
|
||||
"security": {
|
||||
"enabled": false,
|
||||
"allowed_hosts": [],
|
||||
"allowed_hosts_are_regex": false,
|
||||
"hosts_proxy_headers": [],
|
||||
"https_proxy_headers": [],
|
||||
"sts_seconds": 0,
|
||||
"sts_include_subdomains": false,
|
||||
"sts_preload": false,
|
||||
"content_type_nosniff": false,
|
||||
"content_security_policy": "",
|
||||
"permissions_policy": "",
|
||||
"cross_origin_opener_policy": "",
|
||||
"expect_ct_header": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user