From 6f6d34a96b2db41589c6f98d5020efd03454522c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:33:56 +0400 Subject: [PATCH] thing --- modules/server/services/forgejo/pages.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index a3831816..f615055a 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -139,7 +139,10 @@ in { # }]; forceSSL = true; enableACME = true; - locations."/" = { proxyPass = "http://localhost:4563"; }; + extraConfig = '' + proxy_ssl_server_name on; + ''; + locations."/" = { proxyPass = "https://localhost:4563"; }; }; }; security.acme.certs."pages.sako.lol" = {