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" = {