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:
parent
ced5e5da63
commit
1069f20c54
1 changed files with 18 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue