webhosts/Caddyfile

19 lines
334 B
Caddyfile
Executable File

https://finallycoffee.eu {
tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem
root * /var/webroot
file_server
encode zstd gzip
route /users/* {
uri strip_prefix /users/
reverse_proxy web_userspace:80
}
}
# Import all web hosts
import /webhosts/*/Caddyfile
import /sites.d/*/Caddyfile