support fallback website

This commit is contained in:
root
2022-05-22 08:50:15 +00:00
parent 567845db7a
commit 5c4fdb7b9e
5 changed files with 11 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ http {
root /root/html;
}
location /v2ws { # 与 V2Ray 配置中的 path 保持一致
location /ws { # 与 V2Ray 配置中的 path 保持一致
if ($http_upgrade != "websocket") { # WebSocket协商失败时返回404
return 404;
}