diff --git a/infra/occupymedia/edge/nginx.conf b/infra/occupymedia/edge/nginx.conf index 31bf703..3e71c26 100644 --- a/infra/occupymedia/edge/nginx.conf +++ b/infra/occupymedia/edge/nginx.conf @@ -251,6 +251,15 @@ http { proxy_send_timeout 3600s; proxy_buffering off; client_max_body_size 512m; + # oCIS web's index.html carries ownCloud branding before the app mounts + # (title, blue theme-color, white/blue splash) — rewrite at the edge. + proxy_set_header Accept-Encoding ""; + sub_filter 'ownCloud' 'Tactical Media Broadcast Hub'; + sub_filter 'content="#375f7E"' 'content="#060403"'; + sub_filter 'border: 1px solid #4c5f79;' 'border: 1px solid #2E2624;'; + sub_filter 'border-top-color: #fff;' 'border-top-color: #FF1610;'; + sub_filter '