File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
internal/ingress/controller/config
rootfs/etc/nginx/template Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ type Configuration struct {
559
559
// Sets whether to use recursive search in the real ip module
560
560
// https://nginx.org/en/docs/http/ngx_http_realip_module.html#real_ip_recursive
561
561
// Default: true
562
- EnableRealIpRecursive bool `json:"enable-real-ip-recursive"`
562
+ EnableRealIPRecursive bool `json:"enable-real-ip-recursive"`
563
563
564
564
// Sets the header field for identifying the originating IP address of a client
565
565
// Default is X-Forwarded-For
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ http {
143
143
real_ip_header {{ $cfg.ForwardedForHeader }};
144
144
{{ end }}
145
145
146
- {{ if $cfg.EnableRealIpRecursive }}
146
+ {{ if $cfg.EnableRealIPRecursive }}
147
147
real_ip_recursive on;
148
148
{{ else }}
149
149
real_ip_recursive off;
You can’t perform that action at this time.
0 commit comments