From 7a3203781e13bc3dd8759e4198878fbe50d91c53 Mon Sep 17 00:00:00 2001 From: Arnaud Fornerot Date: Mon, 6 Dec 2021 17:02:58 +0100 Subject: [PATCH] secretkey for amonecole --- tmpl/ninegitea-env.local | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmpl/ninegitea-env.local b/tmpl/ninegitea-env.local index a541b5a..c9cabeb 100755 --- a/tmpl/ninegitea-env.local +++ b/tmpl/ninegitea-env.local @@ -1,6 +1,7 @@ # SYMFONY APP_ENV=PROD -APP_SECRET=%%pwdreader("","/var/www/html/ninegitea/.key") +%set keyfile = %%getVar('container_path_web','') + '/var/www/html/ninegitea/.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)$'