From 97f5a24bc8839328571b23eb5f910de206ddbe1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 7 Oct 2021 15:14:03 +0200 Subject: Add documentation website --- modules/private/websites/immae/production.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/private/websites') diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index ff9cf9d..8b4998f 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix @@ -6,6 +6,7 @@ let rechercheDir = "/var/lib/buildbot/outputs/immae/recherche"; recettesDir = "/var/lib/buildbot/outputs/immae/recettes"; historyDir = "/var/lib/buildbot/outputs/immae/history"; + docsDir = "/var/lib/buildbot/outputs/immae/docs/"; env = config.myEnv.websites.immae; in { options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; @@ -66,6 +67,14 @@ in { Require all granted + Alias /docs ${docsDir} + + DirectoryIndex index.htm index.html + Options Indexes FollowSymLinks MultiViews Includes + AllowOverride All + Require all granted + + Alias /eurl ${./eurl} DirectoryIndex index.htm index.html -- cgit v1.2.3