diff options
Diffstat (limited to 'virtual/packages/aten.nix')
-rw-r--r-- | virtual/packages/aten.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virtual/packages/aten.nix b/virtual/packages/aten.nix index 21bbff0..8251b31 100644 --- a/virtual/packages/aten.nix +++ b/virtual/packages/aten.nix | |||
@@ -37,8 +37,6 @@ let | |||
37 | assert checkEnv "NIXOPS_${varPrefix}_${envName}_SECRET"; | 37 | assert checkEnv "NIXOPS_${varPrefix}_${envName}_SECRET"; |
38 | assert checkEnv "NIXOPS_${varPrefix}_${envName}_PSQL_URL"; | 38 | assert checkEnv "NIXOPS_${varPrefix}_${envName}_PSQL_URL"; |
39 | '' | 39 | '' |
40 | Use Stats aten.pro | ||
41 | |||
42 | <FilesMatch "\.php$"> | 40 | <FilesMatch "\.php$"> |
43 | SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost" | 41 | SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost" |
44 | </FilesMatch> | 42 | </FilesMatch> |
@@ -60,6 +58,8 @@ let | |||
60 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://aten.pro\"></html>" | 58 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://aten.pro\"></html>" |
61 | </Location> | 59 | </Location> |
62 | '' else '' | 60 | '' else '' |
61 | Use Stats aten.pro | ||
62 | |||
63 | <Location /backend> | 63 | <Location /backend> |
64 | Use LDAPConnect | 64 | Use LDAPConnect |
65 | Require ldap-group cn=aten.pro,cn=httpd,ou=services,dc=immae,dc=eu | 65 | Require ldap-group cn=aten.pro,cn=httpd,ou=services,dc=immae,dc=eu |