gawa/docker/caddy/Caddyfile

19 lines
294 B
Caddyfile

http://localhost, http://192.168.178.65 {
handle_path /static/* {
root * /srv/static
file_server {
hide .git
precompressed zstd br gzip
}
}
handle_path /media/* {
root * /srv/media
file_server {
hide .git
precompressed zstd br gzip
}
}
reverse_proxy http://main
}