You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Sysadmin Guy (Jira)" <ji...@apache.org> on 2020/03/21 22:36:00 UTC
[jira] [Created] (GUACAMOLE-994) Incorrect Documentation or
Software Bug (Remote IP Valve)
Sysadmin Guy created GUACAMOLE-994:
--------------------------------------
Summary: Incorrect Documentation or Software Bug (Remote IP Valve)
Key: GUACAMOLE-994
URL: https://issues.apache.org/jira/browse/GUACAMOLE-994
Project: Guacamole
Issue Type: Bug
Components: guacamole-server, Website
Affects Versions: 1.0.0
Reporter: Sysadmin Guy
When proxied behind Nginx Reverse Proxy, the docs recommend adding this to server.xml in /etc/tomcat8 if the proxy is on the same host as the Tomcat server.
In my testing and as reported on the mail list, specifiying localhost (127.0.0.1) does not work. You have to use the actual IP of the local host.
[https://www.mail-archive.com/user@guacamole.apache.org/msg02343.html]
{code:java}
<Valve className="org.apache.catalina.valves.RemoteIpValve"
internalProxies="127.0.0.1"
remoteIpHeader="x-forwarded-for"
remoteIpProxiesHeader="x-forwarded-by"
protocolHeader="x-forwarded-proto" />{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)