Configuring the SonarQube Server base URL
You must configure your SonarQube Server base URL in SonarQube Server, otherwise, integration and authentication features will not work correctly, the URLs generated in reports and emails will be wrong, etc.
If you want to delegate the SonarQube Server user authentication to an OAUTH provider (GitHub, Bitbucket, GitLab, SAML), you should use HTTPS for security reasons. This means that the SonarQube Server instance should be secured behind a proxy.
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).
To configure the server base URL in SonarQube Server:
- Go to Administration > Configuration > General Settings > General > General.
- In Server base URL, set your SonarQube Server instance's URL.
Was this page helpful?