1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{ ... }: { imports = [ ./nginx.nix ]; config = { services.nginx.virtualHosts."sterni.lv" = { enableACME = true; forceSSL = true; # TODO(sterni): take website from store, replace /tmp with a simple LRU thing root = toString /srv/http; }; }; }