From 0723f27fd4cd53517cabd4bdda8ba77f9719c1bb Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 6 Nov 2024 17:53:05 +0100 Subject: [PATCH] trans and pinterest done --- modules/services/nginx/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix index 941508c..6aa6b6c 100644 --- a/modules/services/nginx/default.nix +++ b/modules/services/nginx/default.nix @@ -18,11 +18,18 @@ virtualHosts."4get.joygnu.org" = { forceSSL = true; enableACME = true; - extraConfig = '' - client_max_body_size 512M; - ''; locations."/".proxyPass = "http://localhost:8080"; }; + virtualHosts."pin.joygnu.org" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://localhost:6060"; + }; + virtualHosts."trans.joygnu.org" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://localhost:5000"; + }; }; security.acme.certs = { "www.joygnu.org".email = "contact@joygnu.org";