use $the_real_ip for rate limit whitelist
@@ -303,7 +303,7 @@ http {
{{ range $rl := (filterRateLimits $servers ) }}
# Ratelimit {{ $rl.Name }}
- geo $whitelist_{{ $rl.ID }} {
+ geo $the_real_ip $whitelist_{{ $rl.ID }} {
default 0;
{{ range $ip := $rl.Whitelist }}
{{ $ip }} 1;{{ end }}
