Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit fb3eabd

Browse files
authored
Merge pull request #1530 from franbuehler/Docker-Changes-2.9-apache
Align with changes in modsec docker image
2 parents b26ba8b + 6c52cd3 commit fb3eabd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

util/docker/Dockerfile-2.9-apache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ RUN apt-get update && \
2222

2323
COPY httpd-logging-before-modsec.conf /usr/local/apache2/conf/extra/httpd-logging-before-modsec.conf
2424
COPY httpd-logging-after-modsec.conf /usr/local/apache2/conf/extra/httpd-logging-after-modsec.conf
25-
COPY proxy.conf /etc/modsecurity.d/proxy.conf
2625
COPY docker-entrypoint.sh /
2726

2827
EXPOSE 80
28+
EXPOSE 443
2929

3030
ENTRYPOINT ["/docker-entrypoint.sh"]
3131
CMD ["apachectl", "-D", "FOREGROUND"]

util/docker/httpd-logging-before-modsec.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ErrorLog /var/log/apache2/error.log
1+
ErrorLog ${ERRORLOG}
22

33
# For more information regarding the values in the extended log format
44
# and aliases and scripts to extract information please read:
@@ -14,7 +14,7 @@ LogFormat "%h %{GEOIP_COUNTRY_CODE}e %u [%{%Y-%m-%d %H:%M:%S}t.%{usec_frac}t] \"
1414
%{ModSecAnomalyScoreInPLs}e %{ModSecAnomalyScoreOutPLs}e \
1515
%{ModSecAnomalyScoreIn}e %{ModSecAnomalyScoreOut}e" extended
1616

17-
CustomLog /var/log/apache2/access.log extended
17+
CustomLog ${ACCESSLOG} extended
1818

1919

2020
# === ModSec timestamps at the start of each phase (ids: 90000 - 90009)

0 commit comments

Comments
 (0)