Merge pull request 'nginx(mastodon): set max body size to 99mb' () from mastodon-max-body-size into main

Reviewed-on: 
Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
This commit is contained in:
teutat3s 2025-04-25 22:06:39 +00:00
commit 0260f86dd8
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -10,6 +10,9 @@ in
# mastodon only supports https, but you can override this if you offload tls elsewhere.
forceSSL = lib.mkDefault true;
enableACME = lib.mkDefault true;
extraConfig = ''
client_max_body_size 99m;
'';
locations."/auth/sign_up".extraConfig = ''
return 302 /auth/sign_in;