From 1d713293cde3f92a7b69cca4759e8b521f3e913d Mon Sep 17 00:00:00 2001 From: zwnk Date: Mon, 15 Feb 2021 12:43:47 +0100 Subject: [PATCH] Add 'Caddyfile' --- Caddyfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Caddyfile diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..85fb472 --- /dev/null +++ b/Caddyfile @@ -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 +} \ No newline at end of file