I am using the Nginx configuration file as listed on nginx.com: https://www.nginx.com/resources/wiki/start/topics/recipes/oscommerce/
When I use:
fastcgi_pass 127.0.0.1:9000;
I get a bad gateway page 502 error, therefore I changed it to:
fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
The site loads the home page but when I click on the links on the home page, I get 404 Not Found. For example, when I click: https://mydomai.com/catalog/sales , I get 404 not found page.
Why is that?