Message-ID: <1442047757.26563.1394316967761.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_26562_898586723.1394316967760" ------=_Part_26562_898586723.1394316967760 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This section helps you configure SonarQube if you want to run it= behind a proxy. This can be done for security concerns or to consolidate m= ultiple disparate applications.=20 =20
We assume that you've already installed Apache 2 with module mod_proxy, that SonarQube is running and availa= ble on http://privates_sonar_host:sonar_port/ and th= at you want to configure a Virtual Host for www.public_sonar.com.=
If the URL of the SonarQube server must have a context like http://www.public_sonar.com/sonar_context, in that case t= he following line must be uncommented in the sonar.properties configuration= file to prevent using the Apache mod_rewrite:
And of course, the definition of the Apache virtual server must also be = slightly updated :
Apache configuration is going to vary based on your own application's re= quirements and the way you intend to expose SonarQube to the outside world.= If you need more details about Apache HTTPd and mod_proxy, please see = ;http://httpd.apache.org.
At this point, edit the Nginx configuration file. Include the following = to expose SonarQube at http://www.somecompany.com/:
Nginx configuration is going to vary based on your own application's req= uirements and the way you intend to expose SonarQube to the outside world. = If you need more details about Nginx, please see http://nginx.org.