we have successfully used http-proxy to allow multiple domains on a
single server routing incoming to a respective port and node app using
proxy-table.
ie:
'app1.com' : '127.0.0.1:8080' -> node app running on 8080
'app2.com' : '127.0.0.1:8081' -> node app running on 8081
How do we use proxy-table to route to a simple index.html files (single
page apps) which are not running as node apps on a specific port ?
http://app1.com -> /var/local/app1/index.html
http://app2.com -> /var/local/app2/index.html
and from there the single page app actually uses ajax calls to a restify
instance for REST db calls - that part is running okay on a test server.
what obvious thing am I missing here ? thks
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.