From 07394d0ef061bb7f89c9b760377ce1ee1f3b8fe5 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:20:22 +0400 Subject: [PATCH] we sigmas --- modules/server/services/forgejo/pages.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index 9828bb9a..df7a16a7 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -148,7 +148,8 @@ in { # locations."/" = { proxyPass = "https://localhost:56773"; }; # }; # }; - security.acme.certs."*.pages.sako.lol" = { + security.acme.certs."pages.sako.lol" = { + extraDomainNames = [ "*.pages.sako.lol" ]; credentialsFile = "/srv/secrets/porkbun"; dnsProvider = "porkbun"; webroot = null; @@ -158,8 +159,8 @@ in { server_name *.pages.sako.lol; listen 443 ssl; - ssl_certificate /var/lib/acme/*.pages.sako.lol/fullchain.pem; - ssl_certificate_key /var/lib/acme/*.pages.sako.lol/key.pem; + ssl_certificate /var/lib/acme/pages.sako.lol/fullchain.pem; + ssl_certificate_key /var/lib/acme/pages.sako.lol/key.pem; proxy_connect_timeout 1s; proxy_timeout 3s;