32 lines
351 B
Caddyfile
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
|