diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 07eb3290a..32e9a073f 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -514,7 +514,7 @@ async function writeAppNginxConfig(app, fqdn, type, bundle) { data.hideHeaders = [ 'Content-Security-Policy' ]; if (reverseProxyConfig.csp.includes('frame-ancestors ')) data.hideHeaders.push('X-Frame-Options'); } - if (type === apps.SUBDOMAIN_TYPE_PRIMARY) { + if (type === apps.SUBDOMAIN_TYPE_PRIMARY || type == apps.SUBDOMAIN_TYPE_ALIAS) { data.proxyAuth = { enabled: app.sso && app.manifest.addons && app.manifest.addons.proxyAuth, id: app.id,