From 2cbc38531047eacf8eaee7685371e5ba699c2980 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:27:26 +0400 Subject: [PATCH] this is my 9/11 --- modules/server/services/forgejo/pages.nix | 30 +++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/server/services/forgejo/pages.nix b/modules/server/services/forgejo/pages.nix index 3359906f..5fb5f8ac 100644 --- a/modules/server/services/forgejo/pages.nix +++ b/modules/server/services/forgejo/pages.nix @@ -139,7 +139,7 @@ in { # }]; forceSSL = true; enableACME = true; - locations."/" = { proxyPass = "https://localhost:55342"; }; + locations."/" = { proxyPass = "https://localhost:4563"; }; }; }; security.acme.certs."pages.sako.lol" = { @@ -148,20 +148,20 @@ in { dnsProvider = "porkbun"; webroot = null; }; - services.nginx.streamConfig = '' - server { - server_name *.pages.sako.lol; - listen 55342 ssl; + # services.nginx.streamConfig = '' + # server { + # server_name *.pages.sako.lol; + # listen 55342 ssl; - 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; - - proxy_pass https://localhost:4563; - ssl_preread on; - } - ''; + # 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; + + # proxy_pass https://localhost:4563; + # ssl_preread on; + # } + # ''; }; }