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;