You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
251 B
Caddyfile
20 lines
251 B
Caddyfile
5 years ago
|
localhost
|
||
|
|
||
|
root dist
|
||
|
ext .html
|
||
|
|
||
|
header / {
|
||
|
Content-Security-Policy "default-src * 'unsafe-eval' 'unsafe-inline';"
|
||
|
}
|
||
|
|
||
|
proxy /api localhost:8880
|
||
|
|
||
|
log /api stdout
|
||
|
|
||
|
proxy /ws localhost:8880 {
|
||
|
websocket
|
||
|
transparent
|
||
|
}
|
||
|
|
||
|
proxy /wss localhost:8880
|