Compare commits

..

2 Commits

Author SHA1 Message Date
84470571d8 Remove metrics 2022-06-15 18:03:42 -05:00
aee17c11e3 Remove some unused config 2022-06-15 18:02:47 -05:00
2 changed files with 0 additions and 27 deletions

View File

@ -5,18 +5,8 @@
import email
}
#{
# servers :443 {
# protocol {
# experimental_http3
# }
# }
#}
(basicerrors) {
handle_errors {
#respond "{http.error.status_code} {http.error.status_text}"
templates
rewrite * /index.html
root * /etc/caddy/errors
@ -28,16 +18,4 @@
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"
header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization"
rewrite * {path}.json
root * /etc/caddy/matrix_well_known
file_server
}
}
import conf.d/*

View File

@ -1,5 +0,0 @@
# vim: ft=caddyfile
:2020 {
metrics
}