From e22caad1c02d34134b0f4f5ea784222cb39d6347 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Wed, 21 May 2025 09:38:01 +0200 Subject: [PATCH] Reenable nginx --- git_system.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/git_system.nix b/git_system.nix index ce998ea..6ef74e4 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;