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