mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-09-20 06:04:30 +08:00
Change 127.0.0.1
to ::1
This commit is contained in:
@@ -14,17 +14,17 @@
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"port": "2080",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
"ip": "::1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"port": "2081",
|
||||
"protocol": "http"
|
||||
}
|
||||
|
@@ -14,17 +14,17 @@
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"port": "2080",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
"ip": "::1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"port": "2081",
|
||||
"protocol": "http"
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ http {
|
||||
#gzip on;
|
||||
|
||||
server {
|
||||
listen 127.0.0.1:80;
|
||||
listen [::1]:80;
|
||||
server_name yourserver_80.com;
|
||||
|
||||
charset utf-8;
|
||||
|
@@ -60,7 +60,7 @@
|
||||
{
|
||||
"tag": "externalws",
|
||||
"port": 65511,
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
@@ -84,7 +84,7 @@
|
||||
{
|
||||
"tag": "interconn",
|
||||
"port": 65510,
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
|
Reference in New Issue
Block a user