WordPress admin-ajax.php: 502 Bad Gateway

WordPress后台设置特色图片时,发现无法设置,打开F12发现是由于admin-ajax.php: 502 Bad Gateway,参考这篇文档,在/etc/nginx/nginx.conf中增加:

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

发表回复

您的电子邮箱地址不会被公开。