We're updating the issue view to help you get more done. 

Zanata behind proxy may return incorrect url in REST response

Description

When zanata is deployed behind a proxy. e.g. nginx redirect https traffic to EAP port 8080. The code has several places that injects

1 @Context UriInfo uri;

and get request URI. The result will be http protocol. Potentially the context path may also be the EAP context path not the one received at the proxy. This will result in incorrect URL being returned to the REST response.

Environment

None

Status

Assignee

Patrick Huang

Reporter

Patrick Huang

Tested Version/s

None

Sprint

None

Fix versions

Priority

unspecified