Skip to content

Commit

Permalink
Add ip logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigri44 authored Mar 20, 2024
1 parent 096fed0 commit 069c96a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,7 @@ http {
error_log /var/log/nginx/realt-api_error.log;
access_log /var/log/nginx/realt-api_access.log;
}
real_ip_header X-Forwarded-For;
real_ip_recursive on;
set_real_ip_from 172.18.0.0/24;
}

0 comments on commit 069c96a

Please sign in to comment.