Skip to content

Commit

Permalink
Added brotli module to nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
homerr committed Mar 28, 2024
1 parent d5eaad3 commit 4b8664a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ RUN \
php83-pecl-apcu \
php83-pecl-yaml \
php83-redis \
php83-tokenizer && \
php83-tokenizer \
nginx-mod-http-brotli && \
echo "**** configure php-fpm to pass env vars ****" && \
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && \
grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ RUN \
php83-pecl-apcu \
php83-pecl-yaml \
php83-redis \
php83-tokenizer && \
php83-tokenizer \
nginx-mod-http-brotli && \
echo "**** configure php-fpm to pass env vars ****" && \
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && \
grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && \
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "06.03.24:", desc: "Add brotli to nginx." }
- { date: "06.03.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf." }
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3."}
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
Expand Down

0 comments on commit 4b8664a

Please sign in to comment.