Apache + Nginx admin-Ajax Wordpress 502 error

An ajax POST TO LOGIN request from wordpress does not work error 502

Does anyone know how to allow this request in Apache+nginx? I have tried everything…

/wp-admin/admin-ajax.php

Thank you

Check the log files

Hi eris, Thanks for your answer, indeed in the log I could find the problem and it was something related to the headers, they were too big.

If someone has this problem, I leave the solution to help the community.

configuration nginx file:

fastcgi_temp_file_write_size 10m;
fastcgi_busy_buffers_size 512k;
fastcgi_buffer_size 512k;
fastcgi_buffers 16 512k;
client_max_body_size 50m;
proxy_buffer_size 16k;
proxy_busy_buffers_size 16k;

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.