From ff587059b9d901c26eab34f4b7f0c06130aae10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?victor=20h=C3=A9ry?= Date: Sun, 16 Sep 2018 17:53:57 +0200 Subject: Add possibility to manage trust_proxy list in docker image --- support/docker/production/.env | 1 + support/docker/production/config/custom-environment-variables.yaml | 2 ++ 2 files changed, 3 insertions(+) (limited to 'support/docker/production') diff --git a/support/docker/production/.env b/support/docker/production/.env index 51c4e0ace..8af161b2a 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env @@ -3,6 +3,7 @@ PEERTUBE_DB_PASSWORD=postgres_password PEERTUBE_WEBSERVER_HOSTNAME=domain.tld PEERTUBE_WEBSERVER_PORT=443 PEERTUBE_WEBSERVER_HTTPS=true +PEERTUBE_TRUST_PROXY=127.0.0.1 PEERTUBE_SMTP_USERNAME= PEERTUBE_SMTP_PASSWORD= PEERTUBE_SMTP_HOSTNAME= diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml index 1c732e2e0..daf885813 100644 --- a/support/docker/production/config/custom-environment-variables.yaml +++ b/support/docker/production/config/custom-environment-variables.yaml @@ -7,6 +7,8 @@ webserver: __name: "PEERTUBE_WEBSERVER_HTTPS" __format: "json" +trust_proxy: "PEERTUBE_TRUST_PROXY" + database: hostname: "PEERTUBE_DB_HOSTNAME" port: -- cgit v1.2.3