fix: added webdav to its own seperate domain

This commit is contained in:
Brian Pooe 2025-12-28 22:34:42 +02:00
parent 001d85855a
commit 78b0df91aa

View file

@ -108,12 +108,14 @@ pihole.home.brianpooe.com {
nas.home.brianpooe.com {
import common
reverse_proxy 192.168.10.24:5000
}
# Specific handling for WebDAV paths
# WebDAV requires specific methods that Caddy handles well by default,
# but we point it to the WebDAV port (5006)
handle /dav/* {
reverse_proxy 192.168.10.24:5006
dav.home.brianpooe.com {
import common
reverse_proxy 192.168.10.24:5006 {
transport http {
tls_insecure_skip_verify
}
}
}