An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat: gzip compression
Andras Bacsai1140afe2c93e
diff --git a/src/lib/haproxy/configuration.ts b/src/lib/haproxy/configuration.tsindex f2f9f500b4..745e8f4af4 100644--- a/src/lib/haproxy/configuration.ts+++ b/src/lib/haproxy/configuration.ts@@ -95,6 +95,8 @@ backend {{domain}}{{/isHttps}}http-request add-header X-Forwarded-Host %[req.hdr(host),lower]server {{id}} {{id}}:{{port}}+ compression algo gzip+ compression type text/html text/css text/plain text/xml text/x-component text/javascript application/x-javascript application/javascript application/json application/manifest+json application/vnd.api+json application/xml application/xhtml+xml application/rss+xml application/atom+xml application/vnd.ms-fontobject application/x-font-ttf application/x-font-opentype application/x-font-truetype image/svg+xml image/x-icon image/vnd.microsoft.icon font/ttf font/eot font/otf font/opentype{{/isRunning}}{{/applications}}@@ -111,6 +113,8 @@ backend {{domain}}{{/isHttps}}http-request add-header X-Forwarded-Host %[req.hdr(host),lower]server {{id}} {{id}}:{{port}}+ compression algo gzip+ compression type text/html text/css text/plain text/xml text/x-component text/javascript application/x-javascript application/javascript application/json application/manifest+json application/vnd.api+json application/xml application/xhtml+xml application/rss+xml application/atom+xml application/vnd.ms-fontobject application/x-font-ttf application/x-font-opentype application/x-font-truetype image/svg+xml image/x-icon image/vnd.microsoft.icon font/ttf font/eot font/otf font/opentype{{/isRunning}}{{/services}}@@ -126,6 +130,8 @@ backend {{domain}}{{/isHttps}}http-request add-header X-Forwarded-Host %[req.hdr(host),lower]server {{id}} {{id}}:{{port}} check fall 10+ compression algo gzip+ compression type text/html text/css text/plain text/xml text/x-component text/javascript application/x-javascript application/javascript application/json application/manifest+json application/vnd.api+json application/xml application/xhtml+xml application/rss+xml application/atom+xml application/vnd.ms-fontobject application/x-font-ttf application/x-font-opentype application/x-font-truetype image/svg+xml image/x-icon image/vnd.microsoft.icon font/ttf font/eot font/otf font/opentype{{/coolify}}`;