web.config for React and Node.js on Azure App Service

I’ve been creating a web application using React and Node.js, and decided to host it on Azure App Service. I had a lot of difficulty finding an appropriate web.config rewrite rules that would host static assets, redirect deep React Router links to index.html and send API calls to Node.js via iisnode. I finally came across this post which got me most of the way there, and I just had to adapt it to use Node.js:






Leave a Reply

Your email address will not be published. Required fields are marked *