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