2025-01-30 03:01:44 +00:00

22 lines
288 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 dev:5173 {
header_up Origin "^https://localhost$" "http://localhost"
}
}
tls internal {
on_demand
}
}