Next js app on Azure Linux web app - Error eisdir illegal operation on a directory read

Arun Rana 1 Reputation point

I am getting an issue with my web app hosted on linux app service plan which is a static next js site and is running perfectly fine in Azure storage with cdn & window based web app (with extra files like web.config & server.js)

I would like to run this in Azure web app (Linux app service plan) but the refresh is not working except for the home page. This works perfectly in my local as well. I have below settings in my web app


Suppose my website homepage URL is and when I navigate to the help page ( it works fine. But, if I refresh the page or try to go to the URL directly it gives me below error


Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,337 questions
{count} votes