Skip to content

Commit

Permalink
Enable Apache mod_expires
Browse files Browse the repository at this point in the history
It will allow Drupal to set cache headers https://github.com/drupal/drupal/blob/10.0.x/.htaccess#L34.

The expires module is enabled the same in the Wordpress Dockerfile https://github.com/docker-library/wordpress/blob/master/Dockerfile.template#L161
  • Loading branch information
jonathanthiry authored Oct 24, 2023
1 parent bb0511c commit 8097b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN set -eux; \
postgresql-dev \
{{ ) else ( -}}
if command -v a2enmod; then \
a2enmod rewrite; \
a2enmod rewrite expires; \
fi; \
\
savedAptMark="$(apt-mark showmanual)"; \
Expand Down

0 comments on commit 8097b62

Please sign in to comment.