mirror of https://github.com/LemmyNet/lemmy.git
Fix nginx config.
parent
970f360ce2
commit
307de890a7
|
@ -72,6 +72,8 @@ server {
|
|||
expires max;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Anonymize IP addresses
|
||||
# https://www.supertechcrew.com/anonymizing-logs-nginx-apache/
|
||||
map $remote_addr $remote_addr_anon {
|
||||
|
@ -84,4 +86,3 @@ server {
|
|||
log_format main '$remote_addr_anon - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" "$http_user_agent"';
|
||||
access_log /dev/stdout main;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue