From 23ace22214fe20c25c8ab3fd53dab93de1884d11 Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 6 Nov 2024 17:01:38 +0100 Subject: [PATCH] 4get put no nix just docker saje --- modules/services/nginx/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix index 606ba28..941508c 100644 --- a/modules/services/nginx/default.nix +++ b/modules/services/nginx/default.nix @@ -15,6 +15,14 @@ enableACME = true; root = "/var/www/www.joygnu.org"; }; + virtualHosts."4get.joygnu.org" = { + forceSSL = true; + enableACME = true; + extraConfig = '' + client_max_body_size 512M; + ''; + locations."/".proxyPass = "http://localhost:8080"; + }; }; security.acme.certs = { "www.joygnu.org".email = "contact@joygnu.org";