feat(audit): show trace with HTTP's client_ip and user if logged in + add support of trusted proxy via CIDR
This commit is contained in:
+13
@@ -201,3 +201,16 @@ MIMALLOC_PURGE_DELAY=0
|
||||
# When enabled with Linux Transparent Huge Pages (THP), partially-used 2 MiB
|
||||
# pages inflate the reported RSS by up to 20-30 MiB.
|
||||
MIMALLOC_ALLOW_LARGE_OS_PAGES=0
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# PROXY
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# Use this section if you are running OxiCloud behind a proxy
|
||||
|
||||
# Trusted Proxy IPs. Format: coma separated list of CIDR
|
||||
# (default not defined = server without proxy)
|
||||
# if defined and proxy's IPs match, client_ip will be defined from
|
||||
# `X-Forwarded-For` / `X-Real-Ip`
|
||||
#OXICLOUD_TRUST_PROXY_CIDR=192.168.0.1/32,10.1.2.0/24
|
||||
|
||||
|
||||
Reference in New Issue
Block a user