fix: set max body size to 1G for forgejo

This commit is contained in:
teutat3s 2023-10-29 23:04:33 +01:00
parent 9898e35208
commit 505602bd73
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -25,7 +25,12 @@
return 302 /user/oauth2/keycloak;
'';
locations."/".proxyPass = "http://127.0.0.1:3000";
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
extraConfig = ''
client_max_body_size 1G;
'';
};
};
services.gitea = {