2025-01-25 07:25:12 +00:00

22 lines
256 B
Caddyfile

{
admin 0.0.0.0:2019
}
localhost {
redir /mailpit /mailpit/
handle_path /mailpit/* {
rewrite * /mailpit{path}
reverse_proxy mailpit:8025
}
handle {
reverse_proxy backend:8000 {
header_up Host {host}
}
}
tls internal {
on_demand
}
}