This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Running under IIS? #75
Comments
Hi Catalin, |
Hi, in IIS I get something like this
For the first, successful, one, I also have hits in Node console, but for the unsuccessful one, Node does not receive the request... |
Also, I've done several "experiments" like the following: GET /api2/gamification/xp/xpz --> is translated in GET http://localhost:3030/xp/xp --> but I get errors in Node and I do not know where should I modify to get rid of them (for all the services - Events/Achievements/XP)
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've tried to run the app using IIS rewrites rules (and Node, of course).
My "achievement" is to get it running using an URL like this: "SERVER/api2/gamification/user/user345" and a rule like this:
<rewrite> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="true"> <match url="gamification/(.*)" /> <action type="Rewrite" url="http://localhost:3030/{R:1}" logRewrittenUrl="true" /> </rule> </rules> </rewrite>
However, when I try to get the XP (which works under Node with http://localhost:3030/xp) or the Events, all I get is IIS 404 (The resource cannot be found, Requested URL: /api2/gamification/xp).
Have you tried this? Could you help me, please?
Thank you,
Catalin
The text was updated successfully, but these errors were encountered: