Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

[nginx-ingress-controller] real_ip_header is duplicate when useProxyProtocol is enabled #1316

Closed
mikesplain opened this issue Jul 5, 2016 · 3 comments · Fixed by #1317
Closed

Comments

@mikesplain
Copy link

It seems as though since a152cc4, if useProxyProtocol is enabled, real_ip_header is set twice causing an error when reloading nginx:

nginx: [emerg] "real_ip_header" directive is duplicate in /etc/nginx/nginx.conf:65

This prevents the ingress controller from starting in 0.8 if useProxyProtocol is enabled.

@mikesplain
Copy link
Author

Thanks @aledbf and @bprashanth for the quick fix!

@bprashanth
Copy link

The new image is not out yet, I'll post on here when it is

@bprashanth
Copy link

pushed gcr.io/google_containers/nginx-ingress-controller:0.8.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants