which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): SonarQube v10.0.0.68432 Community Edition. No extensions or plugins used.
how is SonarQube deployed: zip, Docker, Helm : I’m deploying it with the sonarqube-10.0.0.68432.zip downloaded directly from the SonarQube website. I’m also using Centos 7 as my environment.
what are you trying to achieve: I’m trying to forward port 80 to my SonarQube webserver hosted on port 8080 using apache on Centos 7. This way I can just type my server IP to access the webserver rather than <server-ip>:8080/sonarqube/
what have you tried so far to achieve this: I’ve gone through my /etc/httpd/conf/httpd.conf file and setup a reverse proxy as such
ProxyRequests Off
ProxyPreserveHost On
<VirtualHost *:80>
ServerName <server-ip>
ProxyPass / http://<server-ip>:8080/sonarqube/
ProxyPassReverse / <server-ip>:8080/sonarqube/
</VirtualHost>
When I access my server-ip at port 80 through the web browser, I get a page that just says “loading…” in plain html. I can access my web server directly at <server-ip>:8080/sonarqube/.