Change 127.0.0.1 to ::1

This commit is contained in:
nekolsd
2025-06-04 09:30:44 +08:00
parent 68bc308422
commit 2fb8a67787
73 changed files with 130 additions and 130 deletions

View File

@@ -4,17 +4,17 @@
},
"inbounds": [
{
"listen": "127.0.0.1",
"listen": "::1",
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
"ip": "::1"
}
},
{
"listen": "127.0.0.1",
"listen": "::1",
"port": "1081",
"protocol": "http"
}

View File

@@ -33,8 +33,8 @@ http {
#gzip on;
server {
listen 127.0.0.1:8001;
listen 127.0.0.1:8002 http2;
listen [::1]:8001;
listen [::1]:8002 http2;
server_name yourserver.com;
charset utf-8;