I have a WSO2 Identity Server behind a reverse apache proxy. The proxy listens on port 443 and the IS on port 9443.
I can see the dashboard (https://myhost/dashboard/) but as soon as I click 'Login' I am redirected to the wrong port (https://myhost:9443/samlsso )
I followed all the relevant instructions about putting the IS behind a proxy but it does not work.
In my apache config I have:
ProxyPass / https://localhost:9443/
ProxyPassReverse / https://localhost:9443/
SSLProxyEngine on
In my repository/conf/carbon.xml
I have set <HostName>
and <MgtHostName>
to the name of the proxy.
In repository/conf/tomcat/catalina-server.xml
I've added proxyPort
and proxyName
to the Connector
.
Is there something else which needs to be configured?
Update:
I grepped for 9443/samlsso
and changed those occurrences in the configuration files but it did not solve my problem. I am still redirected to port 9443.
Then I grepped for 9443
and found ~80 occurrences in the configuration files. I find it hard to believe the proper way of configuring a simple port change is to change all those 80 occurrences.