From 07356871237997ae1fc82914e2a32bd495608f81 Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 6 Dec 2021 17:03:49 +0100 Subject: [PATCH] secretkey for amonecole --- tmpl/ninesurvey-env.local | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmpl/ninesurvey-env.local b/tmpl/ninesurvey-env.local index f47aa95..109c3f3 100644 --- a/tmpl/ninesurvey-env.local +++ b/tmpl/ninesurvey-env.local @@ -1,6 +1,7 @@ # SYMFONY APP_ENV=PROD -APP_SECRET=%%pwdreader("","/var/www/html/ninesurvey/.key") +%set keyfile = %%getVar('container_path_web','') + '/var/www/html/ninesurvey/.key' +APP_SECRET=%%pwdreader("",%%keyfile) #TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 #TRUSTED_HOSTS='^(localhost|example\.com)$'