From 13e0ad9b34ac3c22f93f1ae93962bb697a6df4ff Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:50:50 +0400 Subject: [PATCH] again --- modules/server/services/forgejo/pages.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index b9f76a61..741a737f 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -132,14 +132,22 @@ in { services.nginx.virtualHosts = { "pages.sako.lol" = { - forceSSL = true; + listen = [{ + addr = "0.0.0.0"; + port = 443; + ssl = true; + }]; locations."/" = { proxyPass = "http://localhost:4563"; }; extraConfig = '' ssl_preread on; ''; }; "*.pages.sako.lol" = { - forceSSL = true; + listen = [{ + addr = "0.0.0.0"; + port = 443; + ssl = true; + }]; locations."/" = { proxyPass = "http://localhost:4563"; }; extraConfig = '' ssl_preread on;