X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fchloe%2Fbuilder.nix;h=f21caeb4a655231d84c1907fb1375a4616d914bb;hb=ab8f306d7c2c49b8116e1af7b355ed2384617ed9;hp=7b72b9706fb38d9e0cff97914363f32af59a055f;hpb=f8026b6e4c869aa108f6361c8ccd50890657994d;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/chloe/builder.nix b/modules/private/websites/chloe/builder.nix index 7b72b97..f21caeb 100644 --- a/modules/private/websites/chloe/builder.nix +++ b/modules/private/websites/chloe/builder.nix @@ -5,7 +5,6 @@ rec { serviceDeps = [ "mysql.service" ]; socket = "/var/run/phpfpm/chloe-${app.environment}.sock"; pool = '' - listen = ${socket} user = ${apacheUser} group = ${apacheGroup} listen.owner = ${apacheUser} @@ -40,10 +39,10 @@ rec { SetEnv SPIP_LDAP_HOST "ldaps://ldap.immae.eu" SetEnv SPIP_LDAP_SEARCH_DN "${config.ldap.dn}" SetEnv SPIP_LDAP_SEARCH_PW "${config.ldap.password}" - SetEnv SPIP_LDAP_SEARCH "${config.ldap.search}" + SetEnv SPIP_LDAP_SEARCH "${config.ldap.filter}" SetEnv SPIP_MYSQL_HOST "${config.mysql.host}" SetEnv SPIP_MYSQL_PORT "${config.mysql.port}" - SetEnv SPIP_MYSQL_DB "${config.mysql.name}" + SetEnv SPIP_MYSQL_DB "${config.mysql.database}" SetEnv SPIP_MYSQL_USER "${config.mysql.user}" SetEnv SPIP_MYSQL_PASSWORD "${config.mysql.password}" '';