bit4sat/web/Caddyfile-prod

32 lines
351 B
Caddyfile
Raw Permalink Normal View History

2019-04-05 16:18:44 +00:00
#172.29.195.31
0.0.0.0
root /srv
ext .html
header / {
Content-Security-Policy "default-src * 'unsafe-eval' 'unsafe-inline' data: ;"
}
2019-04-07 12:20:35 +00:00
proxy /api bit4sat-api:8880 {
transparent
}
2019-04-05 16:18:44 +00:00
2019-04-07 12:20:35 +00:00
## Download rewrite
rewrite /d {
to /
}
2019-04-05 16:18:44 +00:00
#log /api stdout
log / stdout
#proxy /ws localhost:8880 {
# websocket
# transparent
#}
#tls self_signed