php_admin_value[post_max_size] = 20M
;php_admin_flag[log_errors] = on
php_admin_value[open_basedir] = "${webappDir}:${varDir}:/tmp"
+ php_admin_value[session.save_path] = "${varDir}/phpSessions"
${if environment == "dev" then ''
pm = ondemand
pm.max_children = 5
assert checkEnv "NIXOPS_${varPrefix}_${envName}_SECRET";
assert checkEnv "NIXOPS_${varPrefix}_${envName}_PSQL_URL";
''
- Use Stats aten.pro
-
<FilesMatch "\.php$">
SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost"
</FilesMatch>
ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://aten.pro\"></html>"
</Location>
'' else ''
+ Use Stats aten.pro
+
<Location /backend>
Use LDAPConnect
Require ldap-group cn=aten.pro,cn=httpd,ou=services,dc=immae,dc=eu
deps = [ "wrappers" ];
text = ''
install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir}
+ install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions
if [ ! -f "${varDir}/currentWebappDir" -o \
"${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then
pushd ${webappDir} > /dev/null