Skip to content

Commit

Permalink
Use NJS for nginx IP anonymization
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrini committed Dec 16, 2024
1 parent f2564c6 commit a359637
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ http {
server_names_hash_bucket_size 64;
types_hash_bucket_size 64;

log_format iacombined '$remote_addr_ipscrub $host $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $request_time';
# Logging / IP Anonymization
include /olsystem/etc/nginx/logging.conf;
access_log /var/log/nginx/access.log iacombined;

client_max_body_size 50m;
Expand Down

0 comments on commit a359637

Please sign in to comment.