Activation compression sur CSS et JS
This commit is contained in:
parent
b6862ef1f6
commit
035cf58882
@ -1,3 +1,4 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
RUN sed -i 's/#gzip/gzip/g' /etc/nginx/nginx.conf
|
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
|
||||||
COPY . /usr/share/nginx/html
|
COPY . /usr/share/nginx/html
|
||||||
|
Loading…
Reference in New Issue
Block a user