Skip to content

nginx 502 issue caused by Magento SCP plugin large headers  #53

@netukamptg

Description

@netukamptg

Hi,

We are using m2c version v0.10.5. Magento 2.3.5 and later contains SCP plugin which generates extremely large headers which leads to 502 Bad Gateway issue "…upstream sent too big header while reading response header from upstream...". The workaround is to disable SCP plugin but fix would be welcome.

nginx image should be updated with something like:

fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions