diff options
| author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-26 16:00:12 +0200 |
|---|---|---|
| committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-26 16:00:12 +0200 |
| commit | 149c5daa025fed2b0ccf95a6691480748f696413 (patch) | |
| tree | b405e8163636142977b28e797630ef609a19dac8 | |
| parent | ee0d11d9bf53dcf7ba6cd52bae2718c2432ad5f6 (diff) | |
| download | rules-refactor/server-migration.tar.gz | |
feat(roles/httpd): enable gzip for static websitesrefactor/server-migration
| -rw-r--r-- | roles/httpd/templates/httpd.conf.j2 | 1 |
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 %} |