Tee command to create the test.php file
sudo tee /var/www/html/test.php > /dev/null <<'EOF'
<?php
phpinfo();
?>
EOFJavaScript
Update your Nginx Default server block
nano /etc/nginx/sites-available/defaultJavaScriptremove commented section
adapt to current version 8.3, and make sure that only one fastcgi_pass is active.


Restart nginx
systemctl restart nginxJavaScriptCheck nginx status
systemctl status nginxJavaScriptTest using the server IP Address
http://SERVER-IP/test.php

Delete test page
sudo rm /var/www/html/test.phpJavaScript
