I have a blog here.
And this is what I do:
var httpProxy = require('http-proxy');
var apiProxy = httpProxy.createProxyServer();
app.get("/blog/", function(req, res){
apiProxy.web(req, res, { target: 'http://69.195.124.88/~crowdfoo/blogbeaconboss/:80' });
});
But it says:
404: File Not Found
When I open: http://www.example.com/blog/ on production or http://localnode.com:3000/blog/ on local machine where localnode is localhost
Would appreciate help in this, Thanks!