nginx-proxy-manager/backend/templates/ip_ranges.conf
2024-10-20 19:48:53 +02:00

11 lines
243 B
Text

{%- for range in ip_ranges %}
set_real_ip_from {{ range }};
{%- endfor %}
map $http_cf_connecting_ip $real_ip {
"" $http_x_real_ip;
default $http_cf_connecting_ip;
}
more_set_input_headers "X-IP: $real_ip";
real_ip_header X-IP;