Browse Source

Compress also svg images

main
Daniele Tricoli 2 months ago
parent
commit
a3f92f911e
  1. 2
      roles/nginx/tasks/main.yml

2
roles/nginx/tasks/main.yml

@ -46,7 +46,7 @@
- regexp: "^(.*)gzip_comp_level"
line: "\tgzip_comp_level 5;"
- regexp: "^(.*)gzip_types"
line: "\tgzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;"
line: "\tgzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;"
notify: systemctl reload nginx

Loading…
Cancel
Save