diff --git a/CHANGELOG.md b/CHANGELOG.md index 86d2264..2215e05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.7.1 - Optimise apache config - Add opcache config + - Upgrade baseimage: web-baseimage:1.1.1 ## 0.7.0 - add config.php in config folder diff --git a/image/Dockerfile b/image/Dockerfile index 6096088..05fc555 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -1,4 +1,4 @@ -FROM osixia/web-baseimage:1.1.0 +FROM osixia/web-baseimage:1.1.1 MAINTAINER Bertrand Gouny # phpLDAPadmin version diff --git a/image/service/phpldapadmin/assets/apache2/http.conf b/image/service/phpldapadmin/assets/apache2/http.conf index d7d2437..2400c40 100644 --- a/image/service/phpldapadmin/assets/apache2/http.conf +++ b/image/service/phpldapadmin/assets/apache2/http.conf @@ -6,15 +6,8 @@ DocumentRoot /var/www/phpldapadmin/htdocs - SetOutputFilter DEFLATE - DeflateCompressionLevel 9 - AddOutputFilterByType DEFLATE text/html application/javascript text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon - Header append Vary User-Agent env=!dont-vary - - - ExpiresActive on - ExpiresDefault "access plus 30 days" - + Include /etc/apache2/conf-available/gzip.conf + Include /etc/apache2/conf-available/cache.conf Require all granted diff --git a/image/service/phpldapadmin/assets/apache2/https.conf b/image/service/phpldapadmin/assets/apache2/https.conf index bc3523a..a0c39e3 100644 --- a/image/service/phpldapadmin/assets/apache2/https.conf +++ b/image/service/phpldapadmin/assets/apache2/https.conf @@ -6,21 +6,14 @@ DocumentRoot /var/www/phpldapadmin/htdocs - Include /etc/apache2/conf-available/vhost-partial-ssl.conf + Include /etc/apache2/conf-available/ssl.conf SSLCertificateFile ${CONTAINER_SERVICE_DIR}/phpldapadmin/assets/apache2/certs/${PHPLDAPADMIN_HTTPS_CRT_FILENAME} SSLCertificateKeyFile ${CONTAINER_SERVICE_DIR}/phpldapadmin/assets/apache2/certs/${PHPLDAPADMIN_HTTPS_KEY_FILENAME} #SSLCACertificateFile ${CONTAINER_SERVICE_DIR}/phpldapadmin/assets/apache2/certs/${PHPLDAPADMIN_HTTPS_CA_CRT_FILENAME} - SetOutputFilter DEFLATE - DeflateCompressionLevel 9 - AddOutputFilterByType DEFLATE text/html application/javascript text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon - Header append Vary User-Agent env=!dont-vary - - - ExpiresActive on - ExpiresDefault "access plus 30 days" - + Include /etc/apache2/conf-available/gzip.conf + Include /etc/apache2/conf-available/cache.conf Require all granted