curl on the localhost returns a valid result:
Hi @PanamaJoe
I reviewed the task and here’s a relevant block in the nginx configuration that needs some fixes on two servers.
Confirm the configs in nginx.conf
:
-
server.listen
: needs to listen on port 80 -
server.index
should containindex.php
-
server.root
should point to/var/www.html/
- The
location
for PHPfastcgi_pass
should point tounix:/var/opt/remi/php74/run/php-fpm/www.sock
Once these are configured and checked, restart the nginx service and check either with the LBR button on the top right of the page or curl http://localhost
These steps should resolve the task as a pass.
Regards.
1 Like
thank you so much santosh for your help