download.binaergewitter.de: split podcast.savar.de/binaergewitter.jt.computer and download.binaergewitter.de
This commit is contained in:
parent
470fd3bf33
commit
a0a859315b
|
@ -72,10 +72,23 @@ in {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
recommendedOptimisation = 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" = {
|
virtualHosts."download.binaergewitter.de" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
serverAliases = [ "binaergewitter.jit.computer" "podcast.savar.de" "dl2.binaergewitter.de" ];
|
serverAliases = [ "dl2.binaergewitter.de" ];
|
||||||
root = "/var/www/binaergewitter";
|
root = "/var/www/binaergewitter";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
access_log ${bgtaccess} combined;
|
access_log ${bgtaccess} combined;
|
||||||
|
|
Loading…
Reference in a new issue