norge
The 502 is usually caused by PHP not running correctly.
You can try to restart the PHP version used by WP to check it
(it may be that the PHP process is stuck and cannot be restarted. At this time, you need to execute the command to execute pkill -9 php-fpm
and then start PHP )