summaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-08-09 00:06:14 +0200
committerPatrick Spek <p.spek@tyil.nl>2024-08-09 00:06:14 +0200
commitb2f019aaca94821a0cb72126abe25bec706dbcd0 (patch)
treefab4437aeda675ad31d918faa483a32478300b25 /entrypoint.sh
parent407d791285d850236a7083b888a1470e9bcf4dd0 (diff)
downloadcgit-master.tar.gz
cgit-master.tar.bz2
Add option to use PROXY protocolHEADmaster
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index 5375491..73cce7e 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -12,6 +12,7 @@ export CGITRC_SNAPSHOTS="${CGITRC_SNAPSHOTS:-"tar.gz"}"
export HOSTNAME="${HOSTNAME:-"$(hostname -f)"}"
export HTTPD_GROUP="${HTTPD_GROUP:-"1000"}"
export HTTPD_LISTEN_PORT="${HTTPD_LISTEN_PORT:-"80"}"
+export HTTPD_PROXY_PROTOCOL="${HTTPD_PROXY_PROTOCOL:-"off"}"
export HTTPD_USER="${HTTPD_USER:-"1000"}"
# Output debugging info