mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-02-28 01:49:29 +08:00
Compare commits
No commits in common. "08978ee233fdc1daa7377e30deecc93621d3d03f" and "31a1c6cbf529ba083103132572d95cca03601f21" have entirely different histories.
08978ee233
...
31a1c6cbf5
@ -7,7 +7,6 @@ At the same time, you can also choose to use Nginx. A sample configuration snipp
|
||||
```conf
|
||||
server {
|
||||
listen 443 ssl http2 so_keepalive=on;
|
||||
listen [::]:443 ssl http2 so_keepalive=on;
|
||||
server_name example.com;
|
||||
|
||||
index index.html;
|
||||
|
@ -8,7 +8,6 @@ Xray client <--- gRPC(TLS) ---> Caddy2 <--- gRPC(cleartext) ---> Xray server
|
||||
```conf
|
||||
server {
|
||||
listen 443 ssl http2 so_keepalive=on;
|
||||
listen [::]:443 ssl http2 so_keepalive=on;
|
||||
server_name example.com;
|
||||
|
||||
index index.html;
|
||||
|
@ -39,8 +39,7 @@
|
||||
"serviceName": "", //填写你的 ServiceName,不带任何斜杠
|
||||
"multiMode": false,
|
||||
//"idle_timeout": 60, //当这段时间内没有数据传输时,将会进行健康检查。可能会解决一些“断流”问题。
|
||||
//"initial_windows_size": 35536, //通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。
|
||||
//"permit_without_stream": true //通过 Cloudflare CDN 且空闲(没有子连接)时,防止 Cloudflare CDN 关闭连接。
|
||||
//"initial_windows_size": 35536 //通过 Cloudflare CDN 时,防止 Cloudflare CDN 发送意外的 h2 GOAWAY 帧以关闭现有连接。
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user