how to enable SSL for both jenkins and sonarqube running on the same server
I have installed jenkins and sonarqube in the same server. Jenkins is running on port 8080 and sonarqube is running on port 9000.
I want to enable SSL for both jenkins and sonarqube using the same DNS name.
I have the apache config as below
RequestHeader set XFORWARDEDPROTO "https"
RequestHeader set X-Forwarded-Port "443"
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
Allow from all
When i browse https://example.com, jenkins log i page opens wit the following URL https://jenkins-thunderbolt.comcast.com/login?from=%2F which is as expected.
But when i browse https://example.com/sonar , i get the URl as https://jenkins-thunderbolt.comcast.com/login?from=%2Fsonar, which gets the jenkins login page, but the expected should that when i browse https://example.com/sonar i should get the sonarqube login page
Could you please let me know what configs that iam missing out?