Replies: 1 comment 3 replies
-
Hi @StevenCyb thanks for opening up a discussion, would you mind taking a look at https://github.com/nginxinc/kubernetes-ingress/tree/v3.0.2/examples/shared-examples/proxy-protocol and see if it matches your requirement? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
since I didn't really have an idea after a few hours, I just wanted to ask for some advice. I have a CoAP server running in AWS EKS. So far everything works with the
transportserver
pointing at my service. Now I have the requirement that I need the client IP. By default, the IP of the Nginx pod is passed.I use helm to deploy the Nginx controller.
One idea I had was to add
serverSnippets: proxy_bind $remote_addr transparent;
to the transportserver and modifying the daemonset to get more permissions:But still getting the error:
Another idea was to implement a lua plugin that can add the client IP as CoAP option. The problem ist, I can't find any hints on how to include plugins e.g. by mounting them to a specific directory in combination with the helm chart.
Do someone have a idea or hint on how to achieve it?
Beta Was this translation helpful? Give feedback.
All reactions