django-template/Caddyfile.dev

19 lines
294 B
Caddyfile
Raw Normal View History

2022-08-01 15:52:14 +02:00
http://here.project.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
}