From ac842b2e115e628fc9beac79ecd81d36a9c14dc0 Mon Sep 17 00:00:00 2001 From: oqyude Date: Wed, 29 Oct 2025 13:01:01 +0300 Subject: [PATCH] 123 --- modules/vds/nginx.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/modules/vds/nginx.nix b/modules/vds/nginx.nix index 6a62ffe..c1c2928 100644 --- a/modules/vds/nginx.nix +++ b/modules/vds/nginx.nix @@ -138,14 +138,17 @@ in client_max_body_size 5G; ''; }; - # "llm.zeroq.ru" = { - # forceSSL = true; - # enableACME = true; - # locations."/" = { - # proxyPass = "http://100.86.62.4:11112"; - # proxyWebsockets = true; - # }; - # }; + "ai.zeroq.ru" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://${server}:11112"; + proxyWebsockets = true; + }; + extraConfig = '' + client_max_body_size 5G; + ''; + }; }; }; };