mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-09-19 21:54:29 +08:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user