Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

How to set client_max_body_size ? #35

Closed
ap13p opened this issue Jun 3, 2016 · 8 comments
Closed

How to set client_max_body_size ? #35

ap13p opened this issue Jun 3, 2016 · 8 comments

Comments

@ap13p
Copy link

ap13p commented Jun 3, 2016

How to set nginx configuration for this?
client_max_body_size 2M;

I often get Entity too large 413, when uploading image with file size > 1MB

@hone
Copy link
Member

hone commented Jul 14, 2016

@ap13p there currently isn't a way. Can you provide some more context here?

@daemonsy
Copy link

Hi @hone I have the same issue. We have a client side resume upload features that proxies the request to our API for CORs, getting Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) I thin because of the client_max_body_size.

@daemonsy
Copy link

Hi, I attempted a fix for this @hone

#42

@trakzco
Copy link

trakzco commented Oct 8, 2018

Any further updates made on this issue?

@breathe
Copy link

breathe commented Mar 13, 2020

bumping -- I Really need a fix or workaround for this ...

@Aybee5
Copy link

Aybee5 commented Mar 30, 2021

Hello, is there any implementation for this or an alternative?

@karianpour
Copy link

I have the same issue, I and shocked that it is not resolved even after 3 years :(

@edmorley
Copy link
Member

edmorley commented Jun 9, 2022

Hi

This buildpack is now deprecated and we are recommending people move the more actively maintained heroku-buildpack-nginx. For migration advice see here.

As such, I'm closing this issue out since we won't be making further changes to this buildpack.

@edmorley edmorley closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants