diff --git a/2configs/bgt/download.binaergewitter.de.nix b/2configs/bgt/download.binaergewitter.de.nix index 200ddf8..088bc72 100644 --- a/2configs/bgt/download.binaergewitter.de.nix +++ b/2configs/bgt/download.binaergewitter.de.nix @@ -72,16 +72,29 @@ in { enable = lib.mkDefault true; recommendedGzipSettings = true; recommendedOptimisation = true; + + # using letsencrypt certificate without cloudflare + virtualHosts."podcast.savar.de" = { + addSSL = true; + enableACME = true; + serverAliases = [ "binaergewitter.jit.computer" ]; + root = "/var/www/binaergewitter"; + extraConfig = '' + access_log ${bgtaccess} combined; + error_log ${bgterror} error; + autoindex on; + ''; + }; virtualHosts."download.binaergewitter.de" = { addSSL = true; enableACME = true; - serverAliases = [ "binaergewitter.jit.computer" "podcast.savar.de" "dl2.binaergewitter.de" ]; - root = "/var/www/binaergewitter"; - extraConfig = '' - access_log ${bgtaccess} combined; - error_log ${bgterror} error; - autoindex on; - ''; + serverAliases = [ "dl2.binaergewitter.de" ]; + root = "/var/www/binaergewitter"; + extraConfig = '' + access_log ${bgtaccess} combined; + error_log ${bgterror} error; + autoindex on; + ''; }; }; }