Skip to content

proxyName / proxyPort Connector properties #105

@gvdev-git

Description

@gvdev-git

The server does not seem to respect the proxyName / ProxyPort Tomcat connector properties, i.e. it does not use request.getServerName and request.getServerPort, but seems to return links within the JSON response built on the request header. This effectively prevents deployment of the server behind a reverse proxy.
Example response:

links |
    0 |  
        value | "http://127.0.0.1:8080/domain/mydomain.tld."
        rel | "self"
        href | "http://127.0.0.1:8080/domain/mydomain.tld."
        type | "application/rdap+json"

Offtopic: I assume that the X-Forwarded-For HTTP header is ignored as well. This may create problems later on when IP authentication becomes relevant

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions