mirror of https://github.com/XTLS/Xray-examples
Update README.md
parent
978af7ceea
commit
2694edf105
|
@ -7,7 +7,7 @@ Xray client <--- gRPC(TLS) ---> Caddy2 <--- gRPC(cleartext) ---> Xray server
|
|||
|
||||
同时,您也可以选择使用 Nginx。示例配置片段如下(来自 @xiaoQzhuren):
|
||||
```conf
|
||||
# 填写你的 ServiceName
|
||||
# 在 location 后填写 /{你的 ServiceName}
|
||||
location / {
|
||||
if ($request_method != "POST") {
|
||||
return 404;
|
||||
|
@ -17,4 +17,4 @@ location / {
|
|||
grpc_pass grpc://127.0.0.1:2002;
|
||||
}
|
||||
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue