Configuring the SonarQube base URL
You must configure your SonarQube base URL in your SonarQube instance, otherwise, integration and authentication features will not work correctly, the URLs generated in reports and emails will be wrong, etc.
The SonarQube base URL needs to be a public URL if SonarQube expects to receive information from an external system. This is basically only relevant if you use SCIM (since it requires SonarQube to be reachable by the Identity Provider).
If you want to delegate the SonarQube user authentication to an OAUTH provider (GitHub, Bitbucket, GitLab, SAML): you should use HTTPS for security reasons. This means that the SonarQube instance should be secured behind a proxy.
To configure the server base URL in your SonarQube instance:
- Go to Administration > Configuration > General Settings > General > General.
- In Server base URL, set your SonarQube instance's URL.
Was this page helpful?