本文最后更新于 1832 天前,其中的信息可能已经有所发展或是发生改变。
https://caddy.community/t/unrecognized-subdirective-websocket/6493
header_up Connection {http.request.header.Connection}
header_up Upgrade {http.request.header.Upgrade}
In v2, you do not need to do anything to enable websockets.
Websockets should work with v2’s reverse proxy by default.