Tweak proxy instructions

This commit is contained in:
Adam Harvey
2021-01-11 14:13:37 -05:00
committed by GitHub
parent 0a7852f4e5
commit 9977dea42a
+4 -2
View File
@@ -42,13 +42,15 @@ const OverviewContent = ({ entity }: { entity: Entity }) => (
4. Add the proxy config:
Provide a method for your Backstage backend to get to your SonarQube API end point.
**SonarCloud**
```yaml
# app-config.yaml
proxy:
'/sonarqube':
'/sonarqube/api':
target: https://sonarcloud.io/api
allowedMethods: ['GET']
headers:
@@ -64,7 +66,7 @@ proxy:
# app-config.yaml
proxy:
'/sonarqube':
'/sonarqube/api':
target: https://your.sonarqube.instance.com/api
allowedMethods: ['GET']
headers: