Compare commits

..

7 Commits

Author SHA1 Message Date
c1c3b5b4b2
new upstream version 2.4.54 2022-12-29 11:19:44 +01:00
Wolfgang Hottgenroth
770856c2ea
new upstream release 2021-10-09 11:04:52 +02:00
90091f6b2a new upstream image 2021-10-07 16:03:51 +02:00
ca51b09847 change layout, fix 2021-09-20 15:43:50 +02:00
df40e68118 change layout 2021-09-20 15:37:29 +02:00
b9c5896ee1
add notify script 2021-02-02 14:00:15 +01:00
070bcbd845
add procps for kill 2021-02-02 13:25:25 +01:00
3 changed files with 17 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM httpd:2.4 FROM httpd:2.4.54
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>" LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/httpdispatcher" LABEL ImageName="registry.hottis.de/dockerized/httpdispatcher"
@ -6,7 +6,7 @@ LABEL HubImageName="wollud1969/httpdispatcher"
RUN \ RUN \
apt update && \ apt update && \
apt install -y ca-certificates curl && \ apt install -y ca-certificates curl procps && \
sed -i \ sed -i \
-e 's,^#\(LoadModule proxy_module modules/mod_proxy.so\),\1,' \ -e 's,^#\(LoadModule proxy_module modules/mod_proxy.so\),\1,' \
-e 's,^#\(LoadModule proxy_http_module modules/mod_proxy_http.so\),\1,' \ -e 's,^#\(LoadModule proxy_http_module modules/mod_proxy_http.so\),\1,' \
@ -22,13 +22,16 @@ RUN \
-e 's,^#\(Include conf/extra/httpd-vhosts.conf\),Include conf/editable/httpd-vhosts.conf,' \ -e 's,^#\(Include conf/extra/httpd-vhosts.conf\),Include conf/editable/httpd-vhosts.conf,' \
conf/httpd.conf && \ conf/httpd.conf && \
mkdir conf/editable && \ mkdir conf/editable && \
mkdir conf/editable/ssl && \ mkdir conf/ssl && \
mkdir conf/editable/ssl/private && \ mkdir conf/ssl/private && \
mkdir conf/editable/ssl/certs mkdir conf/ssl/certs && \
mkdir conf/ssl/notify
COPY httpd-vhosts.conf-template conf/editable/ COPY httpd-vhosts.conf-template conf/editable/
COPY notify.sh /usr/bin/
VOLUME /usr/local/apache2/conf/editable VOLUME /usr/local/apache2/conf/editable
VOLUME /usr/local/apache2/conf/ssl
VOLUME /usr/local/apache2/logs VOLUME /usr/local/apache2/logs
EXPOSE 443/tcp EXPOSE 443/tcp

View File

@ -20,6 +20,9 @@ SSLSessionCacheTimeout 300
ServerAdmin admin@example.com ServerAdmin admin@example.com
MDCertificateAgreement accepted MDCertificateAgreement accepted
MDNotifyCmd /usr/bin/notify.sh
MDStoreDir /usr/local/apache2/conf/ssl
# Example on usage on above LDAPAuthConfig macro # Example on usage on above LDAPAuthConfig macro

6
notify.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
date +%s > /usr/local/apache2/conf/ssl/notify/md-$1-done
exit 0