fix: keycloak nginx buffer size #44

Merged
b12f merged 1 commit from fix/keycloak-nginx-buffer-size into main 2023-11-03 17:12:24 +00:00
Owner

Tune according to
https://www.getpagespeed.com/server-setup/nginx/tuning-proxy_buffer_size-in-nginx

This should help with errors in nginx like:

upstream sent too big header while reading response header from upstream

EDIT: already deployed and tested, seems to be working.

Tune according to https://www.getpagespeed.com/server-setup/nginx/tuning-proxy_buffer_size-in-nginx This should help with errors in nginx like: ``` upstream sent too big header while reading response header from upstream ``` EDIT: already deployed and tested, seems to be working.
teutat3s added 1 commit 2023-11-03 12:27:56 +00:00
teutat3s added 1 commit 2023-11-03 12:50:28 +00:00
you should increase either proxy_headers_hash_max_size: 512 or
proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size

See:
https://nginx.org/en/docs/hash.html

https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_headers_hash_max_size
Author
Owner

The second commit fixes a warning I observed in the nginx logs.
See https://my.f5.com/manage/s/article/K51798430

Cause
There is a large number of proxy_set_header directives in the configuration.

The second commit fixes a warning I observed in the nginx logs. See https://my.f5.com/manage/s/article/K51798430 > **Cause** > There is a large number of proxy_set_header directives in the configuration.
teutat3s force-pushed fix/keycloak-nginx-buffer-size from 2c6334b982 to b9e18a167c 2023-11-03 12:54:16 +00:00 Compare
b12f approved these changes 2023-11-03 17:12:03 +00:00
b12f merged commit b8fb9fd867 into main 2023-11-03 17:12:24 +00:00
b12f deleted branch fix/keycloak-nginx-buffer-size 2023-11-03 17:12:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra#44
No description provided.