mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-09-19 21:54:29 +08:00
Change 127.0.0.1
to ::1
This commit is contained in:
@@ -36,11 +36,11 @@ http {
|
||||
#gzip on;
|
||||
|
||||
server {
|
||||
listen 127.0.0.1:8001 proxy_protocol;
|
||||
listen 127.0.0.1:8002 http2 proxy_protocol;
|
||||
listen [::1]:8001 proxy_protocol;
|
||||
listen [::1]:8002 http2 proxy_protocol;
|
||||
server_name yourserver.com;
|
||||
|
||||
set_real_ip_from 127.0.0.1;
|
||||
set_real_ip_from ::1;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
|
Reference in New Issue
Block a user