Compress also svg images
This commit is contained in:
parent
c89163d8a1
commit
a3f92f911e
|
@ -46,7 +46,7 @@
|
||||||
- regexp: "^(.*)gzip_comp_level"
|
- regexp: "^(.*)gzip_comp_level"
|
||||||
line: "\tgzip_comp_level 5;"
|
line: "\tgzip_comp_level 5;"
|
||||||
- regexp: "^(.*)gzip_types"
|
- 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
|
notify: systemctl reload nginx
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue