Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ These variables are common to image variants and will set defaults based on the
| PROXY_SSL_CA_CERT_FILE | A string indicating the path to the PEM-encoded list of accepted CA certificates for the proxied server (Default: `/etc/ssl/certs/ca-certificates.crt`) |
| PROXY_SSL_CHECK_PEER_NAME | A string indicating if the host name checking for remote server certificates is to be enabled (Default: `on`) |
| REMOTEIP_INT_PROXY | A string indicating the client intranet IP addresses trusted to present the RemoteIPHeader value (Default: `10.1.0.0/16`) |
| REMOTEIP_HEADER | A string indicating the header to use for RemoteIPHeader value (Default: `X-Forwarded-For`) |
| REQ_HEADER_FORWARDED_PROTO | A string indicating the transfer protocol of the initial request (Default: `https`) |
| SERVER_ADMIN | A string value indicating the address where problems with the server should be e-mailed (Default: `root@localhost`) |
| SERVER_SIGNATURE | A string value configuring the footer on server-generated documents (Allowed values: `On`, `Off`, `EMail`. Default: `Off`) |
Expand Down
1 change: 1 addition & 0 deletions apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ ENV \
PROXY_SSL_VERIFY=none \
PROXY_TIMEOUT=60 \
REMOTEIP_INT_PROXY='10.1.0.0/16' \
REMOTEIP_HEADER='X-Forwarded-For' \
REQ_HEADER_FORWARDED_PROTO='https' \
SERVER_ADMIN=root@localhost \
SERVER_NAME=localhost \
Expand Down
1 change: 1 addition & 0 deletions apache/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ ENV \
PROXY_SSL_VERIFY=none \
PROXY_TIMEOUT=60 \
REMOTEIP_INT_PROXY='10.1.0.0/16' \
REMOTEIP_HEADER='X-Forwarded-For' \
REQ_HEADER_FORWARDED_PROTO='https' \
SERVER_ADMIN=root@localhost \
SERVER_NAME=localhost \
Expand Down
2 changes: 1 addition & 1 deletion apache/conf/extra/httpd-vhosts.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ProxyPreserveHost ${PROXY_PRESERVE_HOST}
ProxyRequests off
ProxyTimeout ${PROXY_TIMEOUT}

RemoteIPHeader X-Forwarded-For
RemoteIPHeader ${REMOTEIP_HEADER}
RemoteIPInternalProxy ${REMOTEIP_INT_PROXY}

RequestHeader set X-Forwarded-Proto "${REQ_HEADER_FORWARDED_PROTO}"
Expand Down
Loading