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

Arun Rana 1 Reputation point
2021-04-17T08:16:20.907+00:00

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

88738-11.jpg

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

88742-11error.jpg

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,695 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kishore Pogaru 0 Reputation points
    2023-06-24T02:13:07.39+00:00

    Arun Rana Were you able to resolve the issue?

    0 comments No comments