-
Notifications
You must be signed in to change notification settings - Fork 11
Add GZip compression to HAProxy config file #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
73f7f0e
0084602
947fff2
d52e7ad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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
|
||
| server manager "${MANAGER_HOST}":"${MANAGER_WEB_PORT}" resolvers docker_resolver | ||
| .if defined(MANAGER_PATH_PREFIX) | ||
| http-request replace-path ^"${MANAGER_PATH_PREFIX}"(/.*)?$ \1 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.