Use upstreamUri in reverseproxy config

This commit is contained in:
Johannes Zellner
2022-06-08 11:30:04 +02:00
parent 6a7379e64c
commit f854d86986

View File

@@ -510,7 +510,7 @@ async function writeAppNginxConfig(app, fqdn, type, bundle) {
if (app.manifest.id === constants.RELAY_APPSTORE_ID) {
data.endpoint = 'external';
data.upstreamUri = 'http://example.com';
data.upstreamUri = app.upstreamUri;
}
// maybe these should become per domain at some point