X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fimmae%2Fproduction.nix;h=dff105363b77923fe215fef58160af7f7793066c;hb=f2a18fd63f6be24fec146080fe3663a3d0e9be55;hp=3d76b8611c77dd3626bd5aee4fe8c3a2c118b725;hpb=e77c7882968645ab066dc3d69b3eba83a3ff3e0b;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index 3d76b86..dff1053 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix @@ -4,6 +4,7 @@ let varDir = "/var/lib/buildbot/outputs/immaeEu"; coursDir = "/var/lib/buildbot/outputs/cours"; rechercheDir = "/var/lib/buildbot/outputs/recherche"; + recettesDir = "/var/lib/buildbot/outputs/recettes"; env = config.myEnv.websites.immae; in { options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; @@ -55,6 +56,14 @@ in { AllowOverride All Require all granted + + Alias /recettes ${recettesDir} + + DirectoryIndex index.htm index.html + Options Indexes FollowSymLinks MultiViews Includes + AllowOverride All + Require all granted + '' ]; };