Deploying nodejs to azure - things they didn't tell you about

If you deploying your nodejs app to Azure App Service, well it is actually using IIS Node.

You need to update your web.config accordingly, otherwise you will not going to deploy your app and it is not in azure documentation.

Your web.config might look like this :-

In my eample, my javascript file server.js (after it is compile by typescript)  is placed in a folder called "build' (line 6)

Also noticed that we have a custom configuration at line 31.


Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

spark - pyspark reading from excel files