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)$'