mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-23 16:38:34 +08:00
support fallback website
This commit is contained in:
@@ -35,7 +35,7 @@ http {
|
||||
root /root/html;
|
||||
}
|
||||
|
||||
location /v2ws { # 与 V2Ray 配置中的 path 保持一致
|
||||
location /ws { # 与 V2Ray 配置中的 path 保持一致
|
||||
if ($http_upgrade != "websocket") { # WebSocket协商失败时返回404
|
||||
return 404;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user