Compare commits

...

3 Commits

Author SHA1 Message Date
xqzr
08978ee233 Add IPv6 Listen 2023-11-02 21:51:51 +08:00
xqzr
97210cfd0e Add IPv6 Listen 2023-11-02 21:51:12 +08:00
xqzr
9a6a9ab54a add permit_without_stream 2023-11-02 21:34:39 +08:00
3 changed files with 4 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ At the same time, you can also choose to use Nginx. A sample configuration snipp
```conf ```conf
server { server {
listen 443 ssl http2 so_keepalive=on; listen 443 ssl http2 so_keepalive=on;
listen [::]:443 ssl http2 so_keepalive=on;
server_name example.com; server_name example.com;
index index.html; index index.html;

View File

@@ -8,6 +8,7 @@ Xray client <--- gRPC(TLS) ---> Caddy2 <--- gRPC(cleartext) ---> Xray server
```conf ```conf
server { server {
listen 443 ssl http2 so_keepalive=on; listen 443 ssl http2 so_keepalive=on;
listen [::]:443 ssl http2 so_keepalive=on;
server_name example.com; server_name example.com;
index index.html; index index.html;

View File

@@ -39,7 +39,8 @@
"serviceName": "", //填写你的 ServiceName不带任何斜杠 "serviceName": "", //填写你的 ServiceName不带任何斜杠
"multiMode": false, "multiMode": false,
//"idle_timeout": 60, //当这段时间内没有数据传输时,将会进行健康检查。可能会解决一些“断流”问题。 //"idle_timeout": 60, //当这段时间内没有数据传输时,将会进行健康检查。可能会解决一些“断流”问题。
//"initial_windows_size": 35536 //通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。 //"initial_windows_size": 35536, //通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。
//"permit_without_stream": true //通过 Cloudflare CDN 且空闲(没有子连接)时,防止 Cloudflare CDN 关闭连接。
} }
} }
}, },