Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ listen mqtt
server manager "${MANAGER_HOST}":"${MANAGER_MQTT_PORT}" resolvers docker_resolver

backend manager_backend
compression algo gzip deflate # Enable compression
compression type text/html text/css application/javascript application/json image/svg+xml
compression offload
Comment on lines +146 to +148
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compression configuration is only applied to the manager_backend but not to the keycloak_backend at line 154. If the Keycloak backend also serves compressible content (HTML, CSS, JavaScript, JSON), it should also benefit from compression. Consider whether compression should be applied consistently across all backends or if there's a specific reason to exclude Keycloak.

Copilot uses AI. Check for mistakes.
server manager "${MANAGER_HOST}":"${MANAGER_WEB_PORT}" resolvers docker_resolver
.if defined(MANAGER_PATH_PREFIX)
http-request replace-path ^"${MANAGER_PATH_PREFIX}"(/.*)?$ \1
Expand Down