Keep caddy2 consistent with nginx example

This commit is contained in:
jonny 2022-06-26 17:40:27 +08:00 committed by GitHub
parent a164649c16
commit d5f5a59517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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