download.binaergewitter.de: split podcast.savar.de/binaergewitter.jt.computer and download.binaergewitter.de
This commit is contained in:
parent
470fd3bf33
commit
a0a859315b
|
@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue