Skip to content

Commit

Permalink
changing the call a2enmod expires to a2enmod expires remoteip (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
naresh-kumar-babu authored Jun 21, 2024
1 parent f530a87 commit adbbc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ RUN set -x; \
&& sed -i '/<Directory \/var\/www\/>/i RewriteCond %{THE_REQUEST} \\s(.*?)\\s\nRewriteRule ^ - [E=ORIGINAL_URL:%{REQUEST_SCHEME}://%{HTTP_HOST}%1]' /etc/apache2/apache2.conf \
&& echo "Alias /w/images/ /var/www/mediawiki/w/canasta_img.php/" >> /etc/apache2/apache2.conf \
&& echo "Alias /w/images /var/www/mediawiki/w/canasta_img.php" >> /etc/apache2/apache2.conf \
&& a2enmod expires \
&& a2enmod expires remoteip\
&& a2disconf other-vhosts-access-log \
# Enable environment variables for FPM workers
&& sed -i '/clear_env/s/^;//' /etc/php/8.1/fpm/pool.d/www.conf
Expand Down

0 comments on commit adbbc8a

Please sign in to comment.