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