From 9f23b8d396a952ff1b8e1bc6825478f1ac7f0d77 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:56:50 +0400 Subject: [PATCH] again --- modules/server/services/forgejo/pages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index 8ce985d8..fbc1b31c 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -156,7 +156,8 @@ in { # }; services.nginx.streamConfig = '' server { - listen 443 pages.sako.lol; + server_name pages.sako.lol; + listen 443; proxy_connect_timeout 1s; proxy_timeout 3s; @@ -165,7 +166,8 @@ in { ssl_preread on; } server { - listen 443 *.pages.sako.lol; + server_name *.pages.sako.lol; + listen 443; proxy_connect_timeout 1s; proxy_timeout 3s;