OpenSlides/caddy/Caddyfile

20 lines
350 B
Caddyfile
Raw Normal View History

2021-02-15 11:19:05 +01:00
import endpoint
2021-02-04 20:54:57 +01:00
2021-02-15 11:19:05 +01:00
reverse_proxy /system/* autoupdate:8002 {
flush_interval -1
}
2021-02-04 20:54:57 +01:00
2021-02-15 11:19:05 +01:00
@server {
path /apps/*
path /rest/*
path /server-version.txt
}
reverse_proxy @server server:8000
2021-02-04 20:54:57 +01:00
2021-02-15 11:19:05 +01:00
reverse_proxy /media/* media:8000
2021-02-04 20:54:57 +01:00
reverse_proxy /prometheus/* prometheus:9090
2021-02-15 11:19:05 +01:00
reverse_proxy client:4200
}