Article ID: 118973, created on Dec 2, 2013, last review on Jun 17, 2016

  • Applies to:
  • Plesk Automation 11.5
  • Plesk 11.5 for Linux


When attempting to browse a domain using File Manager, Nginx shows the following error:

502 bad gateway

The following error appears in /var/log/sw-cp-server/error_log:

[error] 22141#0: *5765 upstream sent too big header while reading response header from upstream, client:, server: , request: "GET /smb/file-manager/list?currentDir=/%2Fhttpdocs HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "", referrer: ""


The issue is triggered by the existence of a large number of files in the directory that you tried to open.


This issue has been completely fixed since Parallels Plesk 11.5.30 MU #25. Please install the latest Micro-Updates on the server to fix the issue.


For earlier releases of Parallels Plesk 11.5, the following workaround can be applied:

  1. Back up the original configuration file:

    # cp -p /etc/sw-cp-server/config /etc/sw-cp-server/config.backup.`date +%F`
  2. Increase the FastCGI buffer size to resolve the issue as below:

    # cat /etc/sw-cp-server/config|grep 'fastcgi_buffer'
    fastcgi_buffers 128 2048k;
    fastcgi_buffer_size 2048k;

Search Words

502 Bad Gateway nginx Plesk 12

Nginx 502 Bad gateway

ERROR while trying to act on PEAR packages

Plesk fails to start

This operation is not supported by the service node.

unable to access websites and domains

nginx time out

Не работает кнопка "Опубликовать"

license 502 bad gateway

while connecting to upstrea

while connecting to upstream

magicspam interface not working

upstream sent too big header while reading response header from upstream


Не работает кнопка "Опубликовать"

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF