mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-11-03 11:25:34 +08:00
Change 127.0.0.1 to ::1
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ http {
|
||||
#gzip on;
|
||||
|
||||
server {
|
||||
listen 127.0.0.1:8001;
|
||||
listen [::1]:8001;
|
||||
server_name yourserver_8001.com;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
Reference in New Issue
Block a user