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:
风扇滑翔翼
2025-07-17 12:02:30 +00:00
committed by GitHub
parent 99b5e538cb
commit 7ad5f48c20
73 changed files with 130 additions and 130 deletions

View File

@@ -25,7 +25,7 @@
},
"inbounds": [
{
"listen": "::1", // Fill in 0.0.0.0 to allow connections from LAN
"listen": "127.0.0.1", // Fill in 0.0.0.0 to allow connections from LAN
"port": 10808, // local socks listening port
"protocol": "socks",
"settings": {
@@ -40,7 +40,7 @@
}
},
{
"listen": "::1", // Fill in "0.0.0.0" to allow connections from LAN
"listen": "127.0.0.1", // Fill in "0.0.0.0" to allow connections from LAN
"port": 10809, // Local http listening port
"protocol": "http",
"sniffing": {

View File

@@ -34,9 +34,9 @@ http {
}
server {
listen [::1]:8001 proxy_protocol;
listen [::1]:8002 http2 proxy_protocol;
set_real_ip_from ::1;
listen 127.0.0.1:8001 proxy_protocol;
listen 127.0.0.1:8002 http2 proxy_protocol;
set_real_ip_from 127.0.0.1;
location / {
sub_filter $proxy_host $host;