mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 13:16:06 +08:00
Update README.md
This commit is contained in:
parent
2694edf105
commit
40be7882f5
@ -8,7 +8,7 @@ Xray client <--- gRPC(TLS) ---> Caddy2 <--- gRPC(cleartext) ---> Xray server
|
|||||||
同时,您也可以选择使用 Nginx。示例配置片段如下(来自 @xiaoQzhuren):
|
同时,您也可以选择使用 Nginx。示例配置片段如下(来自 @xiaoQzhuren):
|
||||||
```conf
|
```conf
|
||||||
# 在 location 后填写 /{你的 ServiceName}
|
# 在 location 后填写 /{你的 ServiceName}
|
||||||
location / {
|
location {
|
||||||
if ($request_method != "POST") {
|
if ($request_method != "POST") {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user