X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fimmae%2Fproduction.nix;h=ff9cf9df3910f5558d450f3f95ce0baf84ea0f60;hb=57a421133a011d99d4fbfc5342686a68a890f573;hp=439b455171f3b9bae2bdb95fc21306e8f52943f4;hpb=c5f1602f941d34ad1f9e7bdb69678d0c844c9db6;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index 439b455..ff9cf9d 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix @@ -50,6 +50,14 @@ in { Require all granted + Alias /.well-known/matrix ${./matrix} + + Options Indexes FollowSymLinks MultiViews Includes + AllowOverride None + Require all granted + Header always set Access-Control-Allow-Origin "*" + + Alias /cours ${coursDir} DirectoryIndex index.htm index.html