Welcome! Log In Create A New Profile

Advanced

Request entry too large!

February 19, 2015 03:51PM
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.
Subject Author Posted

Request entry too large!

giumbai February 19, 2015 03:51PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready