29 lines
331 B
Caddyfile
29 lines
331 B
Caddyfile
#172.29.195.31
|
|
localhost
|
|
|
|
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
|