docker icon indicating copy to clipboard operation
docker copied to clipboard

Request Entity Too Large

Open ARMistice opened this issue 9 years ago • 4 comments

I get errors when using Nextcloud Image over https (nginx-proxy), but works fine with http:

Error Downloading https://.../remote.php/webdav/...... - server replied: Request Entity Too Large.

Possibly something to do with the PHP-Settings in the container?

ARMistice avatar Feb 08 '17 10:02 ARMistice

I have the same error. I solved the error by modifying my configuration of my nginx proxy

If you use JrCs/docker-letsencrypt-nginx-proxy-companion Change configuration in /etc/docker-gen/templates/nginx.tmpl or specific template

 server {
....
        client_max_body_size 20M;
....
    }

And restart :) http://www.daveperrett.com/articles/2009/11/18/nginx-error-413-request-entity-too-large/

clementlecorre avatar Feb 11 '17 10:02 clementlecorre

Many thanks, you are right it was a "fault" in JrCs/docker-letsencrypt-nginx-proxy-companion which created this Problem. I solved it by adding the client_max_body_size to the "/etc/nginx/vhost.d/default" config. Which worked. For me the special config for the domain wasnt loaded :(

ARMistice avatar Feb 14 '17 07:02 ARMistice

Looks solved :)

pierreozoux avatar Mar 03 '17 08:03 pierreozoux

Thanks, you saved my life!

tjscomics avatar Sep 10 '17 20:09 tjscomics