Skip to content

Commit c4e32bc

Browse files
committed
Rewrite Destination header, fixes problem with SSL offload
1 parent b31e7ba commit c4e32bc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM debian:jessie-backports
22
LABEL name="httpd-svn" \
33
description="Apache httpd with Subversion" \
44
maintainer="erik.wramner@codemint.com" \
5-
version="2.4.34-1.10.2-01"
5+
version="2.4.34-1.10.2-02"
66

77
ENV HTTPD_VERSION 2.4.34
88
ENV HTTPD_SHA256 fa53c95631febb08a9de41fd2864cfff815cf62d9306723ab0d4b8d7aa1638f0

conf/httpd.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ LoadModule authz_svn_module modules/mod_authz_svn.so
166166
SSLRandomSeed startup builtin
167167
SSLRandomSeed connect builtin
168168
</IfModule>
169+
170+
# Rewrite https to http when using SSL offload
171+
# Required or COPY will fail
172+
RequestHeader edit Destination ^https: http: early
169173
</IfDefine>
170174
<IfDefine SSL>
171175
Listen 443

0 commit comments

Comments
 (0)