Skip to content

Commit

Permalink
web-baseimage:1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Oct 26, 2017
1 parent 28d7905 commit 9d2fa4d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM osixia/web-baseimage:1.1.0
FROM osixia/web-baseimage:1.1.1
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>

# phpLDAPadmin version
Expand Down
11 changes: 2 additions & 9 deletions image/service/phpldapadmin/assets/apache2/http.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

<Filesmatch "\.(ico|css|js|gif|jpg|jpeg|png|svg|eot|ttf|woff|woff2)$">
ExpiresActive on
ExpiresDefault "access plus 30 days"
</Filesmatch>
Include /etc/apache2/conf-available/gzip.conf
Include /etc/apache2/conf-available/cache.conf

<Directory /var/www/phpldapadmin/htdocs >
Require all granted
Expand Down
13 changes: 3 additions & 10 deletions image/service/phpldapadmin/assets/apache2/https.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

<Filesmatch "\.(ico|css|js|gif|jpg|jpeg|png|svg|eot|ttf|woff|woff2)$">
ExpiresActive on
ExpiresDefault "access plus 30 days"
</Filesmatch>
Include /etc/apache2/conf-available/gzip.conf
Include /etc/apache2/conf-available/cache.conf

<Directory /var/www/phpldapadmin/htdocs >
Require all granted
Expand Down

0 comments on commit 9d2fa4d

Please sign in to comment.