nginx-proxy-manager/backend/templates/ip_ranges.conf
2024-04-27 11:04:44 +02:00

11 lines
241 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;