# Debugging Shopware 4.1.3 mit Nginx - 502 Bad Gateway

**URL:** <https://forum.shopware.com/t/debugging-shopware-4-1-3-mit-nginx-502-bad-gateway/17897>\
**Category:** Shopware 3.5\
**Tags:** administration\
**Created:** [21. Januar 2014 um 09:39 UTC](https://forum.shopware.com/t/debugging-shopware-4-1-3-mit-nginx-502-bad-gateway/17897 "2014-01-21T09:39:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rantanplan](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rantanplan](https://forum.shopware.com/u/rantanplan)\
**Post date:** [21. Januar 2014 um 09:39 UTC](https://forum.shopware.com/t/debugging-shopware-4-1-3-mit-nginx-502-bad-gateway/17897/1 "2014-01-21T09:39:28Z")

</div>

Hallo, sobald ich eine Seite mit dem aktivierten Debug Plugin aufrufe erhalte ich einen 502 Bad Gateway Error. Der Server läuft mit Nginx. Gibt es hier bereits einen bekannten Workaround?

---

<div class="post-metadata">

**Author:** ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)\
**Post date:** [3. März 2014 um 16:25 UTC](https://forum.shopware.com/t/debugging-shopware-4-1-3-mit-nginx-502-bad-gateway/17897/2 "2014-03-03T16:25:39Z")

</div>

Hast Du in das Error-Log Deiner Website gesehen? Dort solltest Du auch PHP-Fehler finden.

---

<div class="post-metadata">

**Author:** ![chrisco](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@chrisco](https://forum.shopware.com/u/chrisco)\
**Post date:** [14. Februar 2016 um 17:39 UTC](https://forum.shopware.com/t/debugging-shopware-4-1-3-mit-nginx-502-bad-gateway/17897/3 "2016-02-14T17:39:01Z")

</div>

Sorry für das Hijacken, aber folgende Lösung funktioniert auch in der aktuellen Shopware 5 (derzeit 5.1.2) unter Nginx (Debian):

In der .conf des entsprechenden Hosts (Debian: /etc/nginx/) folgende Zeilen ergänzen / ändern:

```
fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;

```

&nbsp;
