In SONAR_INSTALL/conf/sonar.properties den internen Webserver an localhost binden und einen Context setzen.
sonar.web.host=127.0.0.1 sonar.web.context=/sonar |
Eine Datei /etc/httpd/conf.d/sonar.conf anlegen.
ProxyRequests off <Location /sonar/> ProxyPass http://127.0.0.1:9000/sonar/ ProxyPassReverse http://127.0.0.1:9000/sonar/ RequestHeader set X_FORWARDED_PROTO 'https' SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 </Location> |