django-blog-for-html-over-t.../Caddyfile
Andros Fenollosa 96b4a45f1d First commit
2022-05-15 20:58:36 +02:00

18 lines
285 B
Caddyfile

http://blog.localhost {
root * /usr/src/app/
encode gzip zstd
@notStatic {
not path /static/* /media/*
}
reverse_proxy @notStatic django:8000
file_server /static/*
file_server /media/*
}
http://webmail.localhost {
reverse_proxy mailhog:8025
}