vignette/infra/Caddyfile.nas

22 lines
268 B
Text

{
admin off
auto_https off
}
:80 {
@voice path /api/voice/ws*
reverse_proxy @voice api:8000
@sse path /api/*/stream*
reverse_proxy @sse api:8000 {
flush_interval -1
}
handle_path /api/* {
reverse_proxy api:8000
}
handle {
reverse_proxy web:80
}
}