]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/immae/temp.nix
Refactor websites
[perso/Immae/Config/Nix.git] / modules / private / websites / immae / temp.nix
index b3b28ccadd3ee5fae34fcf2f5ba45ac4d8d1cdbb..c24844e25f75d8d250f830b3927ea96fa927e61a 100644 (file)
@@ -8,17 +8,14 @@ in {
 
   config = lib.mkIf cfg.enable {
     services.websites.env.production.modules = [ "headers" ];
-    services.websites.env.production.vhostConfs.temp = {
-      certName    = "eldiron";
+    services.websites.env.production.vhostConfs.immae_temp = {
+      certName    = "immae";
       addToCerts  = true;
       hosts       = [ "temp.immae.eu" ];
       root        = varDir;
       extraConfig = [
         ''
         Use Apaxy "${varDir}" "title .duplicity-ignore"
-        <FilesMatch ".+">
-          Header set Content-Disposition attachment
-        </FilesMatch>
         <Directory "${varDir}">
           Options -Indexes
           AllowOverride None