From 9eb1b8cc00161a91b7395031d1af76c4e6673679 Mon Sep 17 00:00:00 2001 From: oqyude Date: Wed, 24 Sep 2025 20:11:02 +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 dc47381..6bf4cbb 100755 --- a/nixosModules/vds/nginx.nix +++ b/nixosModules/vds/nginx.nix @@ -16,6 +16,18 @@ in recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = { + "whiteboard.zeroq.ru" = { + forceSSL = true; + enableACME = true; + kTLS = true; + locations."/" = { + proxyPass = "http://${server}:3002"; + proxyWebsockets = true; + }; + extraConfig = '' + client_max_body_size 5G; + ''; + }; "flux.zeroq.ru" = { forceSSL = true; enableACME = true;