gawa/docker/caddy/Caddyfile

27 lines
396 B
Caddyfile
Raw Normal View History

2023-09-25 23:34:26 +02:00
http://localhost {
2023-09-26 22:10:12 +02:00
handle_path /static/* {
root * /srv/static
file_server {
hide .git
precompressed zstd br gzip
}
2023-09-25 23:34:26 +02:00
}
2023-09-26 22:10:12 +02:00
handle_path /media/* {
root * /srv/media
file_server {
hide .git
precompressed zstd br gzip
}
2023-09-25 23:34:26 +02:00
}
reverse_proxy http://main
}
# http://localhost:8080 {
# reverse_proxy http://db-admin
# }
http://localhost:8081 {
reverse_proxy http://blog:2368
}