From db3fd7c71dc8bfdfb05e25dbab3b1bd0bdb95562 Mon Sep 17 00:00:00 2001 From: oqyude Date: Mon, 6 Oct 2025 14:27:49 +0300 Subject: [PATCH] 123 --- nixosModules/vds/nginx.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixosModules/vds/nginx.nix b/nixosModules/vds/nginx.nix index 70df3bb..88cfb40 100755 --- a/nixosModules/vds/nginx.nix +++ b/nixosModules/vds/nginx.nix @@ -16,6 +16,18 @@ in recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = { + "kuma.zeroq.ru" = { + forceSSL = true; + enableACME = true; + kTLS = true; + locations."/" = { + proxyPass = "http://${server}:4001"; + proxyWebsockets = true; + }; + extraConfig = '' + client_max_body_size 5G; + ''; + }; "node-red.zeroq.ru" = { forceSSL = true; enableACME = true;