ctucx.git: nixfiles

ctucx' nixfiles

commit 180157508cf1e22e43b948d3f67d0fd3c77bea24
parent 44d67db42e35b05d62a668c47df25bb33f586148
Author: Katja (ctucx) <git@ctu.cx>
Date: Sat, 30 Nov 2024 16:27:17 +0100

machines/trabbi/fedi/gotosocial: redirect to new profile, increase upload size
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/machines/trabbi/fedi/gotosocial.nix b/machines/trabbi/fedi/gotosocial.nix
@@ -96,11 +96,14 @@ in {
       }
     '';
     locations  = {
-      "= /".return = "307 /@leah";
+      "= /".return = "307 /@katja";
 
       "/" = {
         proxyPass   = "http://${toString config.services.gotosocial.settings.bind-address}:${toString config.services.gotosocial.settings.port}";
         proxyWebsockets = true;
+        extraConfig = ''
+          client_max_body_size 50M;
+        '';
       };
 
       "~ /.well-known/(webfinger|host-meta)$" = {