From 28742581c17ed524f3ea3c1b6d0ebab91bd885ff Mon Sep 17 00:00:00 2001 From: oqyude Date: Sat, 2 Aug 2025 22:40:14 +0300 Subject: [PATCH] 123 --- devices/vds.nix | 1 - modules/vds/nginx.nix | 26 +++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/devices/vds.nix b/devices/vds.nix index 2825db1..e95df91 100755 --- a/devices/vds.nix +++ b/devices/vds.nix @@ -61,7 +61,6 @@ let services = { earlyoom.enable = true; preload.enable = true; - throttled.enable = true; journald = { extraConfig = '' SystemMaxUse=512M diff --git a/modules/vds/nginx.nix b/modules/vds/nginx.nix index 3e016ac..c78af88 100755 --- a/modules/vds/nginx.nix +++ b/modules/vds/nginx.nix @@ -12,27 +12,27 @@ recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; - recommendedTlsSettings = true; + recommendedTlsSettings = false; virtualHosts = { "immich.zeroq.ru" = { - forceSSL = false; - enableACME = false; + forceSSL = true; + enableACME = true; locations."/" = { proxyPass = "http://sapphira.laxta-platy.ts.net:2283"; # Порт Immich proxyWebsockets = true; # Если Immich использует WebSockets }; }; - "nextcloud.zeroq.ru" = { - forceSSL = false; - enableACME = false; - locations."/" = { - proxyPass = "http://sapphira.laxta-platy.ts.net:10000"; # Порт Nextcloud - proxyWebsockets = true; - }; - }; +# "nextcloud.zeroq.ru" = { +# forceSSL = true; +# enableACME = true; +# locations."/" = { +# proxyPass = "http://sapphira.laxta-platy.ts.net:10000"; # Порт Nextcloud +# proxyWebsockets = true; +# }; +# }; "llm.zeroq.ru" = { - forceSSL = false; - enableACME = false; + forceSSL = true; + enableACME = true; locations."/" = { proxyPass = "http://atoridu.laxta-platy.ts.net:11111"; # Порт Open WebUI proxyWebsockets = true;