LP13
LP13

Reputation: 34159

Setting SonarQube for SSL using IIS and Reverse Proxy throws 502 error

I am trying to setup SonarQube with SSL on Windows Server 2019. I can access the SonarQube server locally on the server using http://localhost:9000.

I followed the exact steps as outlined here to setup reverse proxy in IIS using URL Rewrite module. I see the Re-Write URL set to http://http://localhost:9000/{R:1}

However when I browse https://sonarqube.mydomain.com I get the error below

502 - Web server received an invalid response while acting as a gateway or proxy server.

Is there anything i need to enable in SonarQube to enable Reverse Proxy?

I could not find anything in website's logs %SystemDrive%\inetpub\logs\LogFiles

Upvotes: 2

Views: 1228

Answers (1)

LP13
LP13

Reputation: 34159

found it I don't know why URL Rewrite module was adding URL as http://http://localhost:9000/{R:1}

enter image description here

I manually changed it to http://localhost:9000/{R:1} and it worked

Upvotes: 3

Related Questions