File upload broken?


(Carlo Kok) #1

when trying to upload a 1.5m image I now get:

“Sorry, the file you are trying to upload is too big (maximum size is 10240kb)”

was working fine a few weeks ago.


(Régis Hanol) #2

What is the value of the “max image size kb” site setting?


(Carlo Kok) #3

it’s set to 10096 kb.


(Régis Hanol) #4

What image are you trying to upload?


(Carlo Kok) #5

Some IMG_20151224_125724.jpg I found for testing. I get the same error for zip files though.


(Carlo Kok) #6

My apologies. This seems to be an issue in the nginx proxy I put in front of discourse.

I had something like:

       location @fallback {
client_max_body_size 100M;
                proxy_pass ....;

but nginx wanted client_max_body_size 100M; at the server { level.