django-multipage-template-f.../Caddyfile
Andros Fenollosa 12ba5461fd First commit
2022-04-19 21:14:01 +02:00

18 lines
286 B
Caddyfile

http://hello.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
}