This commit is contained in:
Your Name 2022-12-14 13:39:26 -07:00
parent 18e973b6a9
commit 2ddd68e677

View File

@ -62,7 +62,7 @@ server {
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
client_max_body_size 16m;
client_max_body_size 50m;
location / {
proxy_http_version 1.1;
@ -75,7 +75,7 @@ server {
# and `localhost.` resolves to [::0] on some systems: see issue #930
proxy_pass http://127.0.0.1:4000;
client_max_body_size 16m;
client_max_body_size 50m;
}
location ~ ^/(media|proxy) {