django-template/Caddyfile.dev
jnfire ae2758a44f update code and fix errors
update code and fix errors
2022-08-02 08:56:21 +02:00

19 lines
289 B
Caddyfile

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