mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-09-16 04:04:28 +08:00
Change 127.0.0.1
to ::1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
localhost:443 {
|
||||
handle /split/* {
|
||||
reverse_proxy http://127.0.0.1:1234
|
||||
reverse_proxy http://[::1]:1234
|
||||
}
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"port": 10808,
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
|
@@ -16,7 +16,7 @@ server {
|
||||
# access_log off;
|
||||
|
||||
location /split {
|
||||
proxy_pass http://127.0.0.1:1234;
|
||||
proxy_pass http://[::1]:1234;
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"listen": "::1",
|
||||
"port": 1234,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
|
Reference in New Issue
Block a user