From 149c5daa025fed2b0ccf95a6691480748f696413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 26 May 2024 16:00:12 +0200 Subject: feat(roles/httpd): enable gzip for static websites --- roles/httpd/templates/httpd.conf.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/httpd/templates/httpd.conf.j2') diff --git a/roles/httpd/templates/httpd.conf.j2 b/roles/httpd/templates/httpd.conf.j2 index 9225244..9bfb562 100644 --- a/roles/httpd/templates/httpd.conf.j2 +++ b/roles/httpd/templates/httpd.conf.j2 @@ -28,6 +28,7 @@ server "{{ item.domain }}" { listen on localhost port {{ item.port }} log style {{ httpd__log_format }} root "{{ httpd_pre__chroot_sites_dir }}/{{ item.domain }}" + gzip-static } {% endif %} -- cgit v1.2.3