-
The problem was caused by the usage of
request.getServerPort()
to match local port config, which was failing if the request was being forwarded and port was being switched, for example in our case Tigase http-api was configured to listen on port 8080 (default) but on the outside we were listening on port 80 (port forwarding in docker), and because there wasn't any configuration for port80
in Tigase then no redirection has been made.Using
request.getLocalPort()
solves the problem.
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|
Issue Votes (0)
Watchers (0)
On tigase.im, despite having correct redirection configuration (from #issue #113), the redirection doesn't work.