I am getting 404 Not Found nginx/1.24.0

barzan muhammed 6 Reputation points
2024-02-02T17:31:36.9966667+00:00

Hi there, I deployed a php and mysql site on azure web app, the web app uses nginx and the problem is that, the index.php opens with out any problem but when I click to open other pages it says 404 not found nginx/1.24.0 I don't know what is wrong, i did some research and I add this"cp /home/site/wwwroot/default /etc/nginx/sites-available/default && service nginx reload" to startup command but still getting the same error. Please not that it's normal php code not laravel framework. Looking forward to your help, Best Regards,

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
996 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,970 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.