From 62249af1a608f8fa79b00d98104fb1d915ded25a Mon Sep 17 00:00:00 2001 From: oqyude Date: Sun, 1 Mar 2026 17:07:01 +0300 Subject: [PATCH] 123 --- modules/vds/nginx.nix | 70 +++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/modules/vds/nginx.nix b/modules/vds/nginx.nix index e2e8586..2483312 100644 --- a/modules/vds/nginx.nix +++ b/modules/vds/nginx.nix @@ -19,20 +19,20 @@ in recommendedTlsSettings = true; appendHttpConfig = inputs.zeroq-credentials.services.xray.maps; virtualHosts = { - "pubray.zeroq.ru" = { - enableACME = true; - forceSSL = true; - root = "${inputs.zeroq-credentials.services.xray.subs}"; - locations."/" = { - extraConfig = '' - auth_basic "Restricted"; - auth_basic_user_file /etc/nginx/pubray; + # "pubray.zeroq.ru" = { + # enableACME = true; + # forceSSL = true; + # root = "${inputs.zeroq-credentials.services.xray.subs}"; + # locations."/" = { + # extraConfig = '' + # auth_basic "Restricted"; + # auth_basic_user_file /etc/nginx/pubray; - if ($subfile = "") { return 403; } - rewrite ^/$ $subfile break; - ''; - }; - }; + # if ($subfile = "") { return 403; } + # rewrite ^/$ $subfile break; + # ''; + # }; + # }; "x.zeroq.ru" = { forceSSL = true; enableACME = true; @@ -160,28 +160,28 @@ in client_max_body_size 5G; ''; }; - "pdf.zeroq.ru" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://${server}:6060"; - proxyWebsockets = true; - }; - extraConfig = '' - client_max_body_size 5G; - ''; - }; - "ai.zeroq.ru" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://${server}:11112"; - proxyWebsockets = true; - }; - extraConfig = '' - client_max_body_size 5G; - ''; - }; + # "pdf.zeroq.ru" = { + # forceSSL = true; + # enableACME = true; + # locations."/" = { + # proxyPass = "http://${server}:6060"; + # proxyWebsockets = true; + # }; + # extraConfig = '' + # client_max_body_size 5G; + # ''; + # }; + # "ai.zeroq.ru" = { + # forceSSL = true; + # enableACME = true; + # locations."/" = { + # proxyPass = "http://${server}:11112"; + # proxyWebsockets = true; + # }; + # extraConfig = '' + # client_max_body_size 5G; + # ''; + # }; }; }; };