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.


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm