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.

最后修改:2020 年 02 月 17 日 11 : 29 PM
如果觉得我的文章对你有用,请随意赞赏!