If you check out this page it should tell you what you need to know:

https://guacamole.apache.org/doc/gug/proxying-guacamole.html

In particular look at the section 'Setting up the Remote IP Valve'.


On 15/04/2020 1:36 a.m., Niubbo75 wrote:
Hello, I have configured Guacamole 1.1.0 on CentOS 7 with Tomcat 9.0.33, I have use NGINX to let users to login on guacamole via https://mydomain.name instead of http://my.guacamole.server:8080/guacamole all work good except that in Guacamole all users seems to login from 127.0.0.1. I have use this nginx.conf: (guacamole side) # GUACAMOLE SERVER SETTINGS server { listen 443 ssl; #listen [::]:443 ssl; server_name mydomain.name; proxy_buffering off; #proxy_redirect off; proxy_http_version 1.1; proxy_set_header X-Forwarded_For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_upgrade; proxy_cookie_path /guacamole/ /; location ~ /.well-known/acme-challenge { root /var/www/html/; } location / { proxy_pass http://127.0.0.1:8080/guacamole/; proxy_buffering off; proxy_http_version 1.1; proxy_set_header X-Forwarded_For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_cookie_path /guacamole/ /; access_log off; } } I have read that i need to set up a "valve" also in Tomcat, but I don't know where and how, can someone please help me solve this issue? Thanks, Alessandro
------------------------------------------------------------------------
Sent from the Apache Guacamole - General/User Mailing List mailing list archive <http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/> at Nabble.com.

Reply via email to