aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd/templates/httpd.conf.j2
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-05-26 16:00:12 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-05-26 16:00:12 +0200
commit149c5daa025fed2b0ccf95a6691480748f696413 (patch)
treeb405e8163636142977b28e797630ef609a19dac8 /roles/httpd/templates/httpd.conf.j2
parentee0d11d9bf53dcf7ba6cd52bae2718c2432ad5f6 (diff)
downloadrules-149c5daa025fed2b0ccf95a6691480748f696413.tar.gz
feat(roles/httpd): enable gzip for static websitesrefactor/server-migration
Diffstat (limited to 'roles/httpd/templates/httpd.conf.j2')
-rw-r--r--roles/httpd/templates/httpd.conf.j21
1 files changed, 1 insertions, 0 deletions
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 %}
remember that computers suck.