diff --git a/Docker/python-nginx/python2.7-alpine3.7/uwsgi.conf b/Docker/python-nginx/python2.7-alpine3.7/uwsgi.conf index cac90f36a..f67af34f2 100644 --- a/Docker/python-nginx/python2.7-alpine3.7/uwsgi.conf +++ b/Docker/python-nginx/python2.7-alpine3.7/uwsgi.conf @@ -1,6 +1,8 @@ server { listen 80; + large_client_header_buffers 4 64k; + location / { uwsgi_param REMOTE_ADDR $http_x_forwarded_for if_not_empty; uwsgi_param REMOTE_USER $http_x_userid if_not_empty; @@ -35,4 +37,4 @@ server { location /504.html { return 504 '{"error": "Request Timeout"}'; } -} \ No newline at end of file +} diff --git a/Docker/python-nginx/python3.6-alpine3.7/uwsgi.conf b/Docker/python-nginx/python3.6-alpine3.7/uwsgi.conf index 5f8616bc4..97c53335d 100644 --- a/Docker/python-nginx/python3.6-alpine3.7/uwsgi.conf +++ b/Docker/python-nginx/python3.6-alpine3.7/uwsgi.conf @@ -15,6 +15,8 @@ server { server { listen 80; + large_client_header_buffers 4 64k; + location / { uwsgi_param REMOTE_ADDR $http_x_forwarded_for if_not_empty; uwsgi_param REMOTE_USER $http_x_userid if_not_empty; diff --git a/kube/services/revproxy/nginx.conf b/kube/services/revproxy/nginx.conf index e93211e26..785cd4b93 100644 --- a/kube/services/revproxy/nginx.conf +++ b/kube/services/revproxy/nginx.conf @@ -325,7 +325,7 @@ server { # also incoming from client: # * https://fullvalence.com/2016/07/05/cookie-size-in-nginx/ # * https://nginx.org/en/docs/http/ngx_http_core_module.html#client_header_buffer_size - large_client_header_buffers 4 8k; + large_client_header_buffers 4 64k; client_header_buffer_size 4k; #