mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-11-02 19:05:33 +08:00
Revert "All 127.0.0.1 > ::1"
Changing them will result in incompatibility with old xray, and the related pr has not even been merged yet
This commit is contained in:
@@ -16,7 +16,7 @@ server {
|
||||
if ($http_upgrade != "websocket") {
|
||||
return 404;
|
||||
}
|
||||
proxy_pass http://[::1]:1234;
|
||||
proxy_pass http://127.0.0.1:1234;
|
||||
proxy_redirect off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "::1",
|
||||
"listen": "127.0.0.1",
|
||||
"port": 1234 ,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
|
||||
Reference in New Issue
Block a user