We have two jboss servers running http on port 8080 behind an SSL proxy (https port 443). When the users come in they come through
But pages in our application (relying on getScheme, getServerName() etc) are building redirects and URLs pointing to
Have configured the jboss server.xml <connector ...> by adding
Once I deploy with that, then URLs are built correctly pointing back to https on the proxy. Is this the right solution? Seems to work fine for a while then eventually fails (maybe due to some other issue). After a few hours users start getting a mixture of values for URLs
Not even sure where 80 is coming from since the internal server is on 8080. I just want to be sure that the solution explained above is the right one before I start investigating this issue.