Add 'Caddyfile'

This commit is contained in:
zwnk 2021-02-15 12:43:47 +01:00
parent cac76c69d8
commit 1d713293cd
1 changed files with 12 additions and 0 deletions

12
Caddyfile Normal file
View File

@ -0,0 +1,12 @@
(defaults) {
# hsts on
header Strict-Transport-Security max-age=31536000;
@blocked {
path /cache /cache/* /.htaccess /config.php /.git
}
}
music.domain.com {
# example for airsonic
import defaults
reverse_proxy 10.8.0.3:4040
}