bit4sat/web/Caddyfile-prod
2019-04-07 14:20:35 +02:00

32 lines
351 B
Caddyfile

#172.29.195.31
0.0.0.0
root /srv
ext .html
header / {
Content-Security-Policy "default-src * 'unsafe-eval' 'unsafe-inline' data: ;"
}
proxy /api bit4sat-api:8880 {
transparent
}
## Download rewrite
rewrite /d {
to /
}
#log /api stdout
log / stdout
#proxy /ws localhost:8880 {
# websocket
# transparent
#}
#tls self_signed