Compression SVG

This commit is contained in:
nyanloutre 2017-07-15 16:16:15 +02:00
parent cf5959525a
commit 98d7dd359a
No known key found for this signature in database
GPG Key ID: 4177A74B460FAFD2

View File

@ -1,4 +1,4 @@
FROM nginx:alpine
RUN sed -i 's/#gzip/gzip/g' /etc/nginx/nginx.conf && \
sed -i '/gzip *on/ a gzip_types text/css application/javascript;' /etc/nginx/nginx.conf
sed -i '/gzip *on/ a gzip_types text/css application/javascript image/svg+xml;' /etc/nginx/nginx.conf
COPY . /usr/share/nginx/html