1
0

conf: realip module

This commit is contained in:
2025-06-19 12:05:36 +03:00
parent 778fe4855f
commit 7525b5847a
5 changed files with 27 additions and 0 deletions

View File

@@ -58,3 +58,15 @@ tls:
dhparam: tls/dh1024.pem
session_tickets: off
session_timeout: 1d
## well-known values are:
## - 'off' - don't use "realip" module
## - 'proxy_protocol' - get information from PROXY protocol if listen directive has "proxy_protocol" option
## - 'X-Forwarded-For' - get information from 'X-Forwarded-For' header
## - 'X-Real-IP' - get information from 'X-Real-IP' header
## any other value will be treated as uncommon (but valid?) header
real_ip_from: off
## list of trusted sources to be used in "realip" module
## ref: https://en.angie.software/angie/docs/configuration/modules/http/http_realip/
## if empty, defaults to "unix:"
trusted_sources: []