From f50bf7c105ea537373b43d6cd1f8b4749ce54ebd Mon Sep 17 00:00:00 2001 From: Charles Nepote Date: Wed, 4 Dec 2024 14:51:11 +0100 Subject: [PATCH] Update mirabelle.conf --- scripts/mirabelle/mirabelle.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/mirabelle/mirabelle.conf b/scripts/mirabelle/mirabelle.conf index d81bc790..7e14b09b 100644 --- a/scripts/mirabelle/mirabelle.conf +++ b/scripts/mirabelle/mirabelle.conf @@ -8,6 +8,10 @@ server { location / { + # SQL requests can be very long and URI can lead into 414 error "Request-URI Too Large" + # nginx default to 4 8k + large_client_header_buffers 6 32k; + # Use cache #proxy_cache cachezone; # Use If-Modified-Since to use browser cache @@ -55,8 +59,6 @@ server { 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_set_header Upgrade $http_upgrade; - #proxy_set_header Connection $connection_upgrade; proxy_redirect off; proxy_pass http://10.1.0.106; }