浏览代码

Add caddy reverse proxy websocket example (#2119)

* Add caddy reverse proxy websocket example

* Use consistent hostname for caddy reverse proxy
tags/v2.13.0
Neale Pickett 4 个月前
父节点
当前提交
7b525f8899
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
    0
      docs/MANUAL.md

+ 8
- 0
docs/MANUAL.md 查看文件

@@ -1033,6 +1033,14 @@ ProxyPass /webirc http://127.0.0.1:8067 upgrade=websocket
1033 1033
 ProxyPassReverse /webirc http://127.0.0.1:8067
1034 1034
 ```
1035 1035
 
1036
+On Caddy, websocket proxying can be configured with:
1037
+
1038
+```
1039
+handle_path /webirc {
1040
+  reverse_proxy 127.0.0.1:8067
1041
+}
1042
+```
1043
+
1036 1044
 ## Migrating from Anope or Atheme
1037 1045
 
1038 1046
 You can import user and channel registrations from an Anope or Atheme database into a new Ergo database (not all features are supported). Use the following steps:

正在加载...
取消
保存