aboutsummaryrefslogtreecommitdiff
path: root/virtual/packages/aten.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-06 17:57:28 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-06 17:57:28 +0100
commit34e2fd14c7091f85b667667cb2b74c1b75e005db (patch)
tree27219178ed14f05cf8f017b426796f93d389fdf6 /virtual/packages/aten.nix
parent2f2b578bee0ab204a2e626ec9f7ca5c290634456 (diff)
downloadNix-34e2fd14c7091f85b667667cb2b74c1b75e005db.tar.gz
Nix-34e2fd14c7091f85b667667cb2b74c1b75e005db.tar.zst
Nix-34e2fd14c7091f85b667667cb2b74c1b75e005db.zip
Add piedsjaloux website
Diffstat (limited to 'virtual/packages/aten.nix')
-rw-r--r--virtual/packages/aten.nix4
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