From 607ad6d1cb39b93c31af4430ccd7fc17a77d0e9a Mon Sep 17 00:00:00 2001 From: Fishrock123 Date: Tue, 13 Jan 2015 10:07:14 -0500 Subject: [PATCH] www: add .xz & fix .gz mime-types --- setup/www/ansible-playbook.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/www/ansible-playbook.yaml b/setup/www/ansible-playbook.yaml index eceab1c82..c4a899912 100644 --- a/setup/www/ansible-playbook.yaml +++ b/setup/www/ansible-playbook.yaml @@ -105,6 +105,14 @@ lineinfile: dest=/etc/nginx/mime.types line='application/octet-stream pkg;' insertafter='^types.*' tags: nginx + - name: nginx | Add .xz mime-type + lineinfile: dest=/etc/nginx/mime.types line='application/x-xz xz;' insertafter='^types.*' + tags: nginx + + - name: nginx | Use official .gz mime-type + lineinfile: dest=/etc/nginx/mime.types line='application/gzip gz;' insertafter='^types.*' + tags: nginx + - name: nginx | Restart service service: name=nginx state=restarted tags: webhook