Skip to content

Commit 5510ec0

Browse files
committed
Disable Google Pagespeed
1 parent 1a2b58e commit 5510ec0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ RUN sed -ri 's/^display_errors\s*=\s*Off/display_errors = On/g' /etc/php/7.0/fpm
7878
sed -ri 's/^;xmlrpc_errors\s*=\s*0/xmlrpc_errors = 1/g' /etc/php/7.0/fpm/php.ini && \
7979
sed -ri 's/^;xmlrpc_errors\s*=\s*0/xmlrpc_errors = 1/g' /etc/php/7.0/cli/php.ini
8080

81+
# Disable Google Pagespeed
82+
RUN sed -ri 's/\s*ModPagespeed on/ ModPagespeed off/g' /etc/apache2/mods-available/pagespeed.conf
83+
8184
# Grant ubuntu user access to sudo with no password.
8285
RUN apt-get -y install sudo && \
8386
echo "ubuntu ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \

0 commit comments

Comments
 (0)