mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-26 04:34:46 +00:00
Annotate the Nginx media upload limit
This commit is contained in:
parent
887a45488b
commit
f06a7b51e2
1 changed files with 7 additions and 1 deletions
|
@ -80,8 +80,14 @@ server {
|
||||||
gzip_http_version 1.1;
|
gzip_http_version 1.1;
|
||||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml;
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml;
|
||||||
|
|
||||||
# the nginx default is 1m, not enough for large media uploads
|
# Nginx media upload limitation
|
||||||
|
# Ensure that this value matches or exceeds your Pleroma upload limit:
|
||||||
|
#
|
||||||
|
# config :pleroma, :instance,
|
||||||
|
# upload_limit: 16_000_000
|
||||||
|
#
|
||||||
client_max_body_size 16m;
|
client_max_body_size 16m;
|
||||||
|
|
||||||
ignore_invalid_headers off;
|
ignore_invalid_headers off;
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
Loading…
Reference in a new issue