add cf ip
All checks were successful
Build and Deploy Docker Image / build (push) Successful in 41s

This commit is contained in:
mike 2024-10-25 08:36:45 -04:00
parent 535c2550b0
commit 49b28ffbc6

View file

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