forked from pub-solar/infra
fix: set max body size to 1G for forgejo
This commit is contained in:
parent
9898e35208
commit
505602bd73
|
@ -25,7 +25,12 @@
|
||||||
return 302 /user/oauth2/keycloak;
|
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 = {
|
services.gitea = {
|
||||||
|
|
Loading…
Reference in a new issue