Add possibility to manage trust_proxy list in docker image
authorvictor héry <git@lecygnenoir.info>
Sun, 16 Sep 2018 15:53:57 +0000 (17:53 +0200)
committerRigel Kent <par@rigelk.eu>
Sun, 16 Sep 2018 16:50:13 +0000 (18:50 +0200)
support/docker/production/.env
support/docker/production/config/custom-environment-variables.yaml

index 51c4e0acea07066f2ffeb423d5f1ba77b526da71..8af161b2af96aee840910dcedefb6368b1224206 100644 (file)
@@ -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=
index 1c732e2e0f096d3f8bdef9b1c68eff27535065dc..daf8858135dc57dc39f7b1dd997f9e4e1fdae85f 100644 (file)
@@ -7,6 +7,8 @@ webserver:
     __name: "PEERTUBE_WEBSERVER_HTTPS"
     __format: "json"
 
+trust_proxy: "PEERTUBE_TRUST_PROXY"
+
 database:
   hostname: "PEERTUBE_DB_HOSTNAME"
   port: