fix: compress dashboard over HTTPS (#10828)
Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
parent
417f996ef5
commit
05ebba9f1a
1 changed files with 4 additions and 0 deletions
|
|
@ -736,6 +736,9 @@ public function setupDynamicProxyConfiguration()
|
|||
];
|
||||
|
||||
$traefik_dynamic_conf['http']['routers']['coolify-https'] = [
|
||||
'middlewares' => [
|
||||
0 => 'gzip',
|
||||
],
|
||||
'entryPoints' => [
|
||||
0 => 'https',
|
||||
],
|
||||
|
|
@ -791,6 +794,7 @@ public function setupDynamicProxyConfiguration()
|
|||
$schema = $url->getScheme();
|
||||
$caddy_file = "
|
||||
$schema://$host {
|
||||
encode zstd gzip
|
||||
handle /app/* {
|
||||
reverse_proxy coolify-realtime:6001
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue