mirror of https://github.com/fantasticit/think.git
Keep caddy2 consistent with nginx example
This commit is contained in:
parent
a164649c16
commit
d5f5a59517
|
@ -188,7 +188,7 @@ thinkapi.mrdoc.fun {
|
||||||
@websockets {
|
@websockets {
|
||||||
header Connection *Upgrade*
|
header Connection *Upgrade*
|
||||||
header Upgrade websocket
|
header Upgrade websocket
|
||||||
#path /think/wss/*
|
path /think/wss/*
|
||||||
}
|
}
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
reverse_proxy /api/* localhost:5002
|
reverse_proxy /api/* localhost:5002
|
||||||
|
|
Loading…
Reference in New Issue