]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/immae/production.nix
Add matrix configuration
[perso/Immae/Config/Nix.git] / modules / private / websites / immae / production.nix
index 439b455171f3b9bae2bdb95fc21306e8f52943f4..ff9cf9df3910f5558d450f3f95ce0baf84ea0f60 100644 (file)
@@ -50,6 +50,14 @@ in {
           Require all granted
         </Directory>
 
+        Alias /.well-known/matrix ${./matrix}
+        <Directory ${./matrix}>
+          Options Indexes FollowSymLinks MultiViews Includes
+          AllowOverride None
+          Require all granted
+          Header always set Access-Control-Allow-Origin "*"
+        </Directory>
+
         Alias /cours ${coursDir}
         <Directory ${coursDir}>
           DirectoryIndex index.htm index.html