aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/immae
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-01 15:14:07 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-01 15:14:07 +0100
commit0012da0ff3d45df9f68412b90be4f7c24d46a777 (patch)
treea4fd1cb0e17d39610a629dcd256857309268abdc /modules/private/websites/immae
parent573e17101354432a4167c21d832bb2873d6ad220 (diff)
downloadNix-0012da0ff3d45df9f68412b90be4f7c24d46a777.tar.gz
Nix-0012da0ff3d45df9f68412b90be4f7c24d46a777.tar.zst
Nix-0012da0ff3d45df9f68412b90be4f7c24d46a777.zip
Add cours to buildbot
Diffstat (limited to 'modules/private/websites/immae')
-rw-r--r--modules/private/websites/immae/production.nix20
1 files changed, 19 insertions, 1 deletions
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix
index e02d026..3b2301a 100644
--- a/modules/private/websites/immae/production.nix
+++ b/modules/private/websites/immae/production.nix
@@ -2,6 +2,8 @@
2let 2let
3 cfg = config.myServices.websites.immae.production; 3 cfg = config.myServices.websites.immae.production;
4 varDir = "/var/lib/buildbot/outputs/immaeEu"; 4 varDir = "/var/lib/buildbot/outputs/immaeEu";
5 coursDir = "/var/lib/buildbot/outputs/cours";
6 rechercheDir = "/var/lib/buildbot/outputs/recherche";
5 env = myconfig.env.websites.immae; 7 env = myconfig.env.websites.immae;
6in { 8in {
7 options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; 9 options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
@@ -19,7 +21,23 @@ in {
19 Use Stats www.immae.eu 21 Use Stats www.immae.eu
20 22
21 <Directory ${varDir}> 23 <Directory ${varDir}>
22 DirectoryIndex index.php index.htm index.html 24 DirectoryIndex index.htm index.html
25 Options Indexes FollowSymLinks MultiViews Includes
26 AllowOverride All
27 Require all granted
28 </Directory>
29
30 Alias /cours ${coursDir}
31 <Directory ${coursDir}>
32 DirectoryIndex index.htm index.html
33 Options Indexes FollowSymLinks MultiViews Includes
34 AllowOverride All
35 Require all granted
36 </Directory>
37
38 Alias /recherche ${rechercheDir}
39 <Directory ${rechercheDir}>
40 DirectoryIndex index.htm index.html
23 Options Indexes FollowSymLinks MultiViews Includes 41 Options Indexes FollowSymLinks MultiViews Includes
24 AllowOverride All 42 AllowOverride All
25 Require all granted 43 Require all granted