django-template/Caddyfile.dev

27 lines
408 B
Caddyfile
Raw Normal View History

http://project.localhost {
2023-07-24 14:48:40 +02:00
reverse_proxy gulp:3000
}
http://django.localhost {
2022-08-01 15:52:14 +02:00
root * /usr/src/app/
encode gzip zstd
@notStatic {
not path /static/* /media/*
}
reverse_proxy @notStatic django:8000
file_server /static/*
file_server /media/*
}
2023-07-24 14:48:40 +02:00
http://gulp-socket.localhost {
reverse_proxy gulp:3001
}
2022-08-01 15:52:14 +02:00
http://webmail.localhost {
reverse_proxy mailhog:8025
}