brand: de-ownCloud the files load flash — title, theme-color, splash at the edge

oCIS web's index.html carries ownCloud branding before the app mounts
(title 'ownCloud', blue theme-color, white/blue splash spinner). The
files vhosts (tunnel + TLS) now rewrite those at the edge: Hub title,
dark theme-color, dark splash with warm text and the red spinner.
This commit is contained in:
glass beadian 2026-10-14 13:32:00 +00:00
parent ced5e5da63
commit 1069f20c54

View file

@ -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 '<title>ownCloud</title>' '<title>Tactical Media Broadcast Hub</title>';
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 '<style>' '<style>html,body{background:#060403;color:#EBE7E6;}</style><style>';
sub_filter_types text/html;
}
}
@ -308,6 +317,15 @@ http {
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_buffering off;
# 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 '<title>ownCloud</title>' '<title>Tactical Media Broadcast Hub</title>';
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 '<style>' '<style>html,body{background:#060403;color:#EBE7E6;}</style><style>';
sub_filter_types text/html;
}
}