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:38:00 UTC

[jira] [Updated] (GUACAMOLE-994) Incorrect Documentation or Software Bug (Remote IP Valve)

     [ https://issues.apache.org/jira/browse/GUACAMOLE-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sysadmin Guy updated GUACAMOLE-994:
-----------------------------------
    Description: 
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]

 

 [https://guacamole.apache.org/doc/gug/proxying-guacamole.html#tomcat-remote-ip]
{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}
 

  was:
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}
 


> 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
>            Priority: Minor
>
> 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]
>  
>  [https://guacamole.apache.org/doc/gug/proxying-guacamole.html#tomcat-remote-ip]
> {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)