Request entry too large!

giumbai nginx-forum at nginx.us
Thu Feb 19 20:51:25 UTC 2015


I have Owncloud installed behind Nginx reverse proxy. The comfiguration is:

upstream hcloud {
  server 10.1.2.10:80 fail_timeout=0;
}

#server {
#  listen 80;
#  return 301 https://$host$request_uri;
#}

server {

  listen 443;
  server_name hcloud.domain.tld;

  ssl on;
  ssl_certificate /etc/nginx/ssl/nginx.crt;
  ssl_certificate_key /etc/nginx/ssl/nginx.key;

  location / {
    proxy_set_header        Host $host;
    proxy_set_header        X-Real-IP $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Proto $scheme;
    proxy_redirect http:// https://;
    proxy_pass              http://hcloud;
  }
}
server {
  listen 80;
  server_name hcloud.domain.tld;
  location / {
        proxy_pass              http://10.1.2.10:80;
        proxy_set_header        Host $host;
        proxy_set_header        X-Real-IP $remote_addr;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_connect_timeout   150;
        proxy_send_timeout      100;
        proxy_read_timeout      100;
        proxy_buffers           4 2048k;
        client_max_body_size    2048m;
        client_body_buffer_size 1024m;
  }
}
The error i get is "request entry too large". I read some things on the
Internet but it seams that i can't make it work.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256821,256821#msg-256821



More information about the nginx mailing list