| Type |
New Feature
|
| Priority |
Normal
|
| Assignee | |
| Version |
none
|
| Sprints |
n/a
|
| Customer |
n/a
|
Iterations
-
tigase-server-8.5.0 Open
Issue Votes (0)
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee | |
| Version |
none
|
| Sprints |
n/a
|
| Customer |
n/a
|
Currently, when http-api is behind the proxy and the URI path is change, eg:
Redirects and URIInfo breaks because it operates within context (that maches proxied path). Consider module
test-modulethat has/viewand/loginedpoints. Usually they would be available underhttp://tigase:8080/test-module/viewandhttp://tigase:8080/test-module/loginrespecitvely. However, if we put them behind the proxy they should be available underhttp://module.domain.com/viewandhttp://module.domain.com/login. Unfortunatelly right now the redirect (and all related URIinfo paths) would include context name thus result inhttp://module.domain.com/test-module/login.From what I found most of the projects relay on (unofficial) http header
X-Forwarded-Prefix, for example Spring (https://docs.spring.io/spring-framework/reference/web/webmvc/filters.html#x-forwarded-prefix):