@Eirik Y Øra I agree with the answer that Sreeju provided that you might be better served via a Azure Static Web App.
If you would like to stick to an Azure Web App, I have put together a few items I want you to investigate as part of your troubleshooting.
- Check the Deployment Settings: Ensure that the deployment settings in Azure are correctly configured. The web app’s start file should be specified correctly in the configuration.
- Inspect the Web App Files: Make sure that the files of your web app have been uploaded correctly to the Azure App Service. The main HTML file (usually
index.html
) should be present in the root directory.
- NGINX Configuration: If you’re using a custom NGINX configuration, ensure that it’s correctly set up to serve your web app. The
root
directive in the NGINX configuration should point to the directory where your web app files are located.
- App Service Plan: Check if your App Service Plan supports the technologies you’re using. Some features might not be available in lower tiers.
- Application Logs: Check the application logs in Azure. They might provide more information about what’s going wrong.
Please let me know if either Sreeju or my answer were helpful by marking them as the answer. Or let us know if you have further issues so we can assist you.