Run react isomorphic on iis
Asked Answered
L

1

7

I'm trying to get react running using node.js with iisnode on iis

I've installed the latest node and the latest iisnode and used this stackoverflow as a guide but can't get past error 500. How to run Node.JS server for a web application?

any guides on how to do this on iis?

Landtag answered 17/1, 2017 at 10:40 Comment(3)
Could you put a sample app along with the iisnode configuration somewhere on github? It may very well be an environmental issue, but looking at the code may be worth a try.Ethiop
I know this is not the answer you are looking for but, an alternative to this is to use a reverse proxy in IISCecrops
@MathieudeLorimier could you show me how this would workLandtag
C
0

This not a direct answer but rather an alternative. You could use IIS' reverse proxy plugin and just reverse proxy a VirtualServer or sub folder on a virtual server to your NodeJS server.

If you need multiple processes, you could use Node's built-in clustering

Here are two ways to proceed :

  1. Easyest way IMO
  2. Easy way
Cecrops answered 2/2, 2017 at 17:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.