[Koha-bugs] [Bug 32716] New: update NGINX config examples

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 24 20:04:50 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32716

            Bug ID: 32716
           Summary: update NGINX config examples
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: gmcharlt at gmail.com
        QA Contact: testopia at bugs.koha-community.org

We recently encountered a situation with a Starman --> Apache --> NGINX setup
where responses from /api/v1/patrons (particularly when doing pagination) could
fail with an NGINX error message like this:

  upstream sent too big header while reading response header from upstream

We determined that on the proxy server in question, the default NGINX
proxy_buffer_size value of 4096 (the PAGESIZE on that server) was a bit too
small for the Link header returned by the API response.

Consequently, example NGINX configs in the code and the wiki should include the
following:

  proxy_buffer_size 8k;

This is related to bug 31104, but its fix of splitting up the Link headers
won't be sufficient, as NGINX will drop the response if the total size of the
headers is greater than proxy_buffer_size.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list