nginx 502 bad gateway

[ad_1]

I’m kinda new at all this, but I’m trying to host a web server on a pi zero 2w (following this tutorial:[https://www.youtube.com/watch?v=8psimaAr1U8](https://www.youtube.com/watch?v=8psimaAr1U8)), but when I get to the part where you reload nginx and are supposed to open the website for the first time, I get a 502 bad gateway, I’ve tried restarting nginx and some stuff with php that I didn’t really understand, can anyone help me??

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer