From c0db32a25617e76db677cf2cc87772e41cf7f752 Mon Sep 17 00:00:00 2001 From: xVRVx <63975481+xVRVx@users.noreply.github.com> Date: Sat, 13 Dec 2025 13:00:06 +0300 Subject: [PATCH] Add files via upload --- test/autoXRAYselfXHTTPtls.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/autoXRAYselfXHTTPtls.sh b/test/autoXRAYselfXHTTPtls.sh index e33d2a3..1d6a46b 100644 --- a/test/autoXRAYselfXHTTPtls.sh +++ b/test/autoXRAYselfXHTTPtls.sh @@ -54,10 +54,17 @@ server { server_name $DOMAIN; #listen 3333 ssl http2 proxy_protocol; listen unix:/dev/shm/nginx.sock http2 proxy_protocol; + set_real_ip_from unix:; + real_ip_header proxy_protocol; root /var/www/$DOMAIN; index index.php index.html; + # grpc settings + grpc_read_timeout 1h; + grpc_send_timeout 1h; + grpc_set_header X-Real-IP \$remote_addr; + add_header routing-enable 0; location /${path_xhttp} { @@ -947,7 +954,7 @@ cat > "$WEB_PATH/$path_subpage.html" <