diff --git a/modules/vds/nginx.nix b/modules/vds/nginx.nix index c1c2928..56d6e67 100644 --- a/modules/vds/nginx.nix +++ b/modules/vds/nginx.nix @@ -16,6 +16,16 @@ in recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = { + "sub.zeroq.ru" = { + enableACME = true; + forceSSL = true; + root = "/var/www/sub"; + locations."/" = { + extraConfig = '' + autoindex off; # не показываем каталог + ''; + }; + }; "kuma.zeroq.ru" = { forceSSL = true; enableACME = true;