Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

feat(stack): let small hosts turn off http/3 at the edge

Hampus9ea3d4db42c7
diff --git a/deploy/helm/fluxer/files/Caddyfile b/deploy/helm/fluxer/files/Caddyfile
index 44082abec..f64a3fa4a 100644
--- a/deploy/helm/fluxer/files/Caddyfile
+++ b/deploy/helm/fluxer/files/Caddyfile
@@ -2,6 +2,7 @@
servers {
trusted_proxies static {$FLUXER_EDGE_TRUSTED_PROXIES:private_ranges}
trusted_proxies_strict
+ protocols {$FLUXER_EDGE_PROTOCOLS:h1 h2 h3}
}
{$FLUXER_EDGE_GLOBAL_OPTIONS}
}
diff --git a/fluxer_rexctl/internal/stack/files/Caddyfile b/fluxer_rexctl/internal/stack/files/Caddyfile
index 44082abec..f64a3fa4a 100644
--- a/fluxer_rexctl/internal/stack/files/Caddyfile
+++ b/fluxer_rexctl/internal/stack/files/Caddyfile
@@ -2,6 +2,7 @@
servers {
trusted_proxies static {$FLUXER_EDGE_TRUSTED_PROXIES:private_ranges}
trusted_proxies_strict
+ protocols {$FLUXER_EDGE_PROTOCOLS:h1 h2 h3}
}
{$FLUXER_EDGE_GLOBAL_OPTIONS}
}
diff --git a/fluxer_rexctl/internal/stack/files/docker-compose.yml b/fluxer_rexctl/internal/stack/files/docker-compose.yml
index b2029288e..c8d54edee 100644
--- a/fluxer_rexctl/internal/stack/files/docker-compose.yml
+++ b/fluxer_rexctl/internal/stack/files/docker-compose.yml
@@ -268,6 +268,7 @@ services:
FLUXER_EDGE_SITE_ADDRESS: ${FLUXER_EDGE_SITE_ADDRESS:-${FLUXER_CADDY_SITE_ADDRESS:-${FLUXER_PUBLIC_SCHEME:-https}://${FLUXER_DOMAIN:?rexctl manages this instance. Use rexctl, docker compose -p fluxer ps or logs, or run rexctl eject to use docker compose here}}}
FLUXER_EDGE_TRUSTED_PROXIES: ${FLUXER_EDGE_TRUSTED_PROXIES:-127.0.0.1/32}
FLUXER_EDGE_ENCODE: ${FLUXER_EDGE_ENCODE:-zstd gzip}
+ FLUXER_EDGE_PROTOCOLS: ${FLUXER_EDGE_PROTOCOLS:-h1 h2 h3}
FLUXER_EDGE_GLOBAL_OPTIONS: ${FLUXER_EDGE_GLOBAL_OPTIONS:-}
FLUXER_EDGE_TLS_DIRECTIVE: ${FLUXER_EDGE_TLS:+tls ${FLUXER_EDGE_TLS}}
FLUXER_ADMIN_BASE_PATH: ${FLUXER_ADMIN_BASE_PATH:-/admin}