mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2026-02-21 03:40:31 +09:00
Add opcache and clean up default site conf
This commit is contained in:
@@ -17,15 +17,19 @@ RUN \
|
||||
apk add --no-cache \
|
||||
php83-dom \
|
||||
php83-intl \
|
||||
php83-opcache \
|
||||
php83-pdo_mysql \
|
||||
php83-pdo_pgsql \
|
||||
php83-pdo_sqlite \
|
||||
php83-pdo_mysql \
|
||||
php83-tokenizer && \
|
||||
echo "**** configure nginx ****" && \
|
||||
echo 'fastcgi_param PHP_AUTH_USER $remote_user; # Heimdall user authorization' >> \
|
||||
/etc/nginx/fastcgi_params && \
|
||||
echo 'fastcgi_param PHP_AUTH_PW $http_authorization; # Heimdall user authorization' >> \
|
||||
/etc/nginx/fastcgi_params && \
|
||||
echo "**** configure php opcache ****" && \
|
||||
echo 'opcache.validate_timestamps=0' >> \
|
||||
/etc/php83/conf.d/00_opcache.ini && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/heimdall && \
|
||||
|
||||
Reference in New Issue
Block a user