From a58fb36a8aeac47fe0e342d6203c3b87189e4866 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 20 May 2025 12:40:58 +0200 Subject: [PATCH] Without nginx --- git_system.nix | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/git_system.nix b/git_system.nix index c52502d..f766cb0 100644 --- a/git_system.nix +++ b/git_system.nix @@ -29,17 +29,17 @@ in }; services = { - nginx = { - enable = true; - virtualHosts.${srv.DOMAIN} = { - forceSSL = true; - enableACME = true; - extraConfig = '' - client_max_body_size 512M; - ''; - locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}"; - }; - }; + # nginx = { + # enable = true; + # virtualHosts.${srv.DOMAIN} = { + # forceSSL = true; + # enableACME = true; + # extraConfig = '' + # client_max_body_size 512M; + # ''; + # locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}"; + # }; + # }; forgejo = { enable = true; @@ -48,7 +48,7 @@ in settings = { server = { DOMAIN = "188.40.66.217"; - ROOT_URL = "https://${srv.DOMAIN}"; + ROOT_URL = "http://${srv.DOMAIN}"; HTTP_PORT = 3000; SSH_PORT = 62; };