nginx(mastodon): set max body size to 99mb

This commit is contained in:
teutat3s 2025-04-25 23:53:52 +02:00
parent 34d69445f5
commit d3559415a1
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

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;