Change 127.0.0.1 to ::1

This commit is contained in:
nekolsd
2025-06-04 09:30:44 +08:00
parent 68bc308422
commit 2fb8a67787
73 changed files with 130 additions and 130 deletions

View File

@@ -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;