portier/Caddyfile

24 lines
323 B
Caddyfile
Raw Normal View History

2024-04-22 14:34:41 +02:00
{
auto_https off
http_port 8080
https_port 8443
servers :8080 {
protocols h1
}
}
:8080 {
handle /api/* {
reverse_proxy localhost:8000
}
handle /static/* {
reverse_proxy localhost:8000
}
handle /admin* {
reverse_proxy localhost:8000
}
handle {
reverse_proxy localhost:3000
}
}