From fe94d5bf22c723f51bd00de1df04fa085b20bbfb Mon Sep 17 00:00:00 2001 From: Nicolas Demonte Date: Wed, 8 Jan 2020 13:56:57 +0100 Subject: [PATCH] Add environment variable ROOT_URL to deployed builds #38725 --- deployment.cfg | 2 ++ staging.cfg | 3 +++ 2 files changed, 5 insertions(+) diff --git a/deployment.cfg b/deployment.cfg index b17fe3c..4391564 100644 --- a/deployment.cfg +++ b/deployment.cfg @@ -28,6 +28,8 @@ times = 0 1 * * 0 command = ${buildout:bin-directory}/zeopack -B ${buildout:directory}/var/blobstorage/ [instance1] +root-url = https://ged.pfwb.be + mailinglogger = level error diff --git a/staging.cfg b/staging.cfg index cb79ecc..9016422 100644 --- a/staging.cfg +++ b/staging.cfg @@ -90,6 +90,9 @@ zeo-client = true zeo-address = ${zeoserver:zeo-address} effective-user = ${users:zope} http-address = ${hosts:instance1}:${ports:instance1} +root-url = https://test.ged.pfwb.be +environment-vars += + ROOT_URL ${instance1:root-url} eggs += plone.app.async plone.app.ldap