29 lines
329 B
Caddyfile
29 lines
329 B
Caddyfile
#172.29.195.31
|
|
0.0.0.0
|
|
|
|
root dist
|
|
ext .html
|
|
|
|
|
|
header / {
|
|
Content-Security-Policy "default-src * 'unsafe-eval' 'unsafe-inline' data: ;"
|
|
}
|
|
|
|
|
|
proxy /d localhost:8880
|
|
|
|
proxy /api localhost:8880 {
|
|
transparent
|
|
}
|
|
|
|
#log /api stdout
|
|
log / stdout
|
|
|
|
#proxy /ws localhost:8880 {
|
|
# websocket
|
|
# transparent
|
|
#}
|
|
|
|
|
|
#tls self_signed
|