Add hsts snippet

This commit is contained in:
2021-09-04 16:47:16 -05:00
parent 5ec08910ce
commit d265cc7253
18 changed files with 22 additions and 1 deletions

View File

@ -24,6 +24,10 @@
}
(hsts) {
header Strict-Transport-Security max-age=31536000
}
(matrix-well-known) {
handle_path /.well-known/matrix/* {
header Access-Control-Allow-Origin "*"
header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"