Nginx 502 Bad Gateway #4784
Closed
DannyJoris
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Hi @DannyJoris - you did the right thing checking It appears that your PHP app is sending an absolutely huge header back to nginx. I suspect you did the right thing trying those options, but you may need to go far higher than that. And remember you have to But you may have to step-debug through your project and find out what it's doing, because the actual problem will likely affect production. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I ran into a persistent nginx "502 Bad Gateway" error, seemingly out of the blue, which doesn't go away after restarting ddev.
ddev logsshows the following line:It seems to suggest I should increase the
large_client_header_bufferssize as done here? https://github.com/ddev/ddev/pull/3034/files#diff-6480821958a08d0a2cb64353db2f99ccb410a30a8d27a7e4d28008b886fe69d0I've added the following to
.ddev/nginx_full/nginx-site.conf, but without success:I commented out the code I was working on, cleared Drupal caches, but nothing seems to work. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions