I have installed PHP7 and Nginx on Windows 10 bash.
PHP is installed at /etc/php/7.1 Nginx installed at /etc/nginx
I get 502 Bad Gateway when I try to go to localhost and load index.php
How can I configure /etc/nginx/sites-available/default so that it runs PHP scripts properly? So far, nothing I have tried works.