change layout
This commit is contained in:
parent
b9c5896ee1
commit
df40e68118
11
Dockerfile
11
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM httpd:2.4
|
FROM httpd:2.4.48
|
||||||
|
|
||||||
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"
|
||||||
@ -22,14 +22,17 @@ 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/certs && \
|
||||||
|
mkdir conf/ssl/notify
|
||||||
|
|
||||||
COPY httpd-vhosts.conf-template conf/editable/
|
COPY httpd-vhosts.conf-template conf/editable/
|
||||||
COPY notify.sh /usr/bin/
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user