https://bz.apache.org/bugzilla/show_bug.cgi?id=57665

            Bug ID: 57665
           Summary: support x-forwarded-host
           Product: Tomcat 8
           Version: trunk
          Hardware: Macintosh
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: f.ko...@gmail.com

tomcat-embed-core-8.0.20-sources.jar!/org/apache/catalina/valves/RemoteIpValve.java

tl;dr
Please add support for X-Forwarded-Host

when running tomcat-embedder behing a proxy
request goes to https://example.com/application/path

from there it's proxies to the application
with 
GET /application/path HTTP...
Host: internaladdress.xx
X-Forwarded-Proto: https
X-Forwarded-Host: example.com
...

Later when a redirect/url is build
X-Forwarded-Host should be used

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to