l: add ssl for cache.{krebsco.de,lassul.us}

This commit is contained in:
lassulus 2018-11-27 04:01:13 +01:00
parent 0b6c07ad72
commit d1020af2b3

View File

@ -20,7 +20,14 @@
services.nginx = {
enable = true;
virtualHosts.nix-serve = {
serverAliases = [ "cache.prism.r" "cache.krebsco.de" "cache.lassul.us" ];
serverAliases = [ "cache.prism.r" ];
locations."/".extraConfig = ''
proxy_pass http://localhost:${toString config.services.nix-serve.port};
'';
};
virtualHosts."cache.krebsco.de" = {
serverAliases = [ "cache.lassul.us" ];
enableACME = true;
locations."/".extraConfig = ''
proxy_pass http://localhost:${toString config.services.nix-serve.port};
'';