diff options
Diffstat (limited to 'modules/private/websites/immae/production.nix')
-rw-r--r-- | modules/private/websites/immae/production.nix | 20 |
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 @@ | |||
2 | let | 2 | let |
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; |
6 | in { | 8 | in { |
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 |