diff --git a/doc/jaas/nginx-jaas.conf b/doc/jaas/nginx-jaas.conf index 94d0df4f25b1..b2d971274156 100644 --- a/doc/jaas/nginx-jaas.conf +++ b/doc/jaas/nginx-jaas.conf @@ -1,4 +1,8 @@ include /etc/jitsi/meet/jaas/jaas-vars; +location = /close { + alias /static/close3.html; + internal; +} location = /jaas-jwt { include /etc/jitsi/token-generator/daily-key; ssi on; diff --git a/react/features/conference/middleware.any.ts b/react/features/conference/middleware.any.ts index adbd900d066e..ef58d13b1fa0 100644 --- a/react/features/conference/middleware.any.ts +++ b/react/features/conference/middleware.any.ts @@ -225,7 +225,7 @@ function _checkIframe(state: IReduxState, dispatch: IStore['dispatch']) { setTimeout(() => { // redirect to the promotional page - dispatch(redirectToStaticPage('static/close3.html', `#jitsi_meet_external_api_id=${API_ID}`)); + dispatch(redirectToStaticPage('/close', `#jitsi_meet_external_api_id=${API_ID}`)); }, IFRAME_DISABLED_TIMEOUT_MINUTES * 60 * 1000); } }