502 Bad Gateway - PHP myadmin nginx
As I was following through the tutorial on the same topic (https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04) and (https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04) I successfully, can run info.php and use HTTPS but after that I installed and run it up according to the topic.
sudo tail -30 /var/log/nginx/error.log
2020/07/27 08:04:12 [error] 2697#2697: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 220.127.116.11, server: mbswelfare.com, reque st: "GET /phpmyadmin HTTP/2.0", upstream: "http://127.0.0.1:8080/phpmyadmin", host: "mbswelfare.com"
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×