I have built this in PHP and uploaded it to GitLab. Through the pipeline, it connected to Azure and got hosted on Linux server. However, on the website, I am getting:
404 Not Found
nginx/1.28.0
I have checked all file types, and everything is correct. I also reloaded Nginx, but I am still getting the issue. Please help me solve it.
My file structure is:
generateShortlist/
lib/
Note: In the lib folder, I ran the following commands:
Invoke-WebRequest -Uri “http://www.fpdf.org/en/download/fpdf253.zip” -OutFile “fpdf.zip”
Expand-Archive -Path “fpdf.zip” -DestinationPath “lib”
Move-Item “lib/fpdf/fpdf.php” “lib/fpdf.php” (optional)
The main file is: generateShortlist.php
I want to solve the Nginx error and make my code work properly, with everything functioning correctly—like sending emails and moving data to different database tables.