Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show remote host ip behind reverse proxy #11

Closed
paxprot opened this issue Aug 19, 2022 · 2 comments
Closed

show remote host ip behind reverse proxy #11

paxprot opened this issue Aug 19, 2022 · 2 comments

Comments

@paxprot
Copy link

paxprot commented Aug 19, 2022

This setup shows nginx's ip as remote host ip, is there a way to show the real ip behind reverse proxy?

@Vad1mo
Copy link
Member

Vad1mo commented Aug 19, 2022

I guess you should take a look at the Nginx PROXY Protocol and how this can be set in https://github.com/nginx-proxy/

e.g. nginx-proxy/nginx-proxy#1487 and nginx-proxy/nginx-proxy#1621

@paxprot
Copy link
Author

paxprot commented Aug 24, 2022

Thank you for your reply. I haven't tested whether changing nginx config would work, but I managed to add remote ip valve to the tomcat config inside the guacamole container, and it seems to resolve the problem.

@paxprot paxprot closed this as completed Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants