Add 'Caddyfile'
This commit is contained in:
parent
cac76c69d8
commit
1d713293cd
1 changed files with 12 additions and 0 deletions
12
Caddyfile
Normal file
12
Caddyfile
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue