From 49b28ffbc6d1483a47398380bcb5ffd6a2890e76 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 25 Oct 2024 08:36:45 -0400 Subject: [PATCH] add cf ip --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 8203138..188ed2e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,7 +16,7 @@ http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; + '"$http_user_agent" "$http_x_forwarded_for" - "$http_cf_connecting_ip"'; access_log /var/log/nginx/access.log main;