From 3e8c7c03eed3c61fe2ce7c36d91fc411c9c93049 Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Sun, 9 Aug 2026 04:01:56 +0200 Subject: [PATCH] uga aga --- config/nginx/f0ck.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/nginx/f0ck.conf b/config/nginx/f0ck.conf index 0bbbb8a..9dbdbe4 100644 --- a/config/nginx/f0ck.conf +++ b/config/nginx/f0ck.conf @@ -1,3 +1,11 @@ client_max_body_size 10000M; client_body_timeout 120s; client_header_timeout 120s; + +# Pass real IP and forwarded headers from Nginx to Node.js backend +proxy_set_header X-Real-IP $remote_addr; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +proxy_set_header X-Forwarded-Proto $scheme; +proxy_set_header Host $http_host; +proxy_set_header CF-Connecting-IP $http_cf_connecting_ip; +