Merge pull request 'nginx(mastodon): set max body size to 99mb' (#352) from mastodon-max-body-size into main
Reviewed-on: #352 Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
This commit is contained in:
commit
0260f86dd8
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue