From 5203b22571399d2ea518aae44823d7072c3abb1a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:35:13 +0400 Subject: [PATCH] aerfgjio;wjirgoaewqgiojpihjopqgw --- modules/server/services/forgejo/pages.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index f615055a..40a7620f 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -144,6 +144,19 @@ in { ''; locations."/" = { proxyPass = "https://localhost:4563"; }; }; + "*.pages.sako.lol" = { + # listen = [{ + # addr = "0.0.0.0"; + # port = 443; + # # ssl = true; + # }]; + forceSSL = true; + # enableACME = true; + extraConfig = '' + proxy_ssl_server_name on; + ''; + locations."/" = { proxyPass = "https://localhost:4563"; }; + }; }; security.acme.certs."pages.sako.lol" = { extraDomainNames = [ "*.pages.sako.lol" ];