mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-25 10:01:29 +00:00
[gRPC/Nginx] fix: config (#42)
This commit is contained in:
parent
d6b94c41bf
commit
cb58f14575
|
@ -5,7 +5,7 @@ Xray client <--- gRPC(TLS) ---> Caddy2 <--- gRPC(cleartext) ---> Xray server
|
|||
同时,您也可以选择使用 Nginx。示例配置片段如下(部分来自 [@xqzr](https://github.com/xqzr)):
|
||||
```conf
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl http2 so_keepalive=on;
|
||||
server_name example.com;
|
||||
|
||||
index index.html;
|
||||
|
|
Loading…
Reference in a new issue