Articles in this category code 502 gateway, on webpage restarting ngnix and apache Try restarting the web services systemctl restart ngnix systemctl restart apache2 systemctl status (to check the status of the services)