Update modules/nginx.nix

This commit is contained in:
Alexander Bantyev 2020-03-10 00:37:59 +03:00
parent ff0ecf9250
commit bfdf702128
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@
enableACME = true; enableACME = true;
addSSL = true; addSSL = true;
}; };
"corona.balsoft.ru" = {
locations."/" = { root = "/var/lib/corona"; index = "index.html"; };
} // default;
"cache.balsoft.ru" = { "cache.balsoft.ru" = {
locations."/" = { proxyPass = "http://localhost:5000"; }; locations."/" = { proxyPass = "http://localhost:5000"; };
} // default; } // default;