download.binaergewitter.de: split podcast.savar.de/binaergewitter.jt.computer and download.binaergewitter.de

This commit is contained in:
makefu 2023-09-04 23:00:46 +02:00
parent 470fd3bf33
commit a0a859315b
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -72,10 +72,23 @@ 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" ];
serverAliases = [ "dl2.binaergewitter.de" ];
root = "/var/www/binaergewitter";
extraConfig = ''
access_log ${bgtaccess} combined;