{"action":"created","issue":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/172","labels_url":"https://api.github.com/repos/jxcore/jxcore/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/jxcore/jxcore/issues/172/comments","events_url":"https://api.github.com/repos/jxcore/jxcore/issues/172/events","html_url":"https://github.com/jxcore/jxcore/issues/172","id":57024486,"number":172,"title":"Using with prerender the url is wrong","user":{"login":"dottodot","id":811652,"avatar_url":"https://avatars.githubusercontent.com/u/811652?v=3","gravatar_id":"","url":"https://api.github.com/users/dottodot","html_url":"https://github.com/dottodot","followers_url":"https://api.github.com/users/dottodot/followers","following_url":"https://api.github.com/users/dottodot/following{/other_user}","gists_url":"https://api.github.com/users/dottodot/gists{/gist_id}","starred_url":"https://api.github.com/users/dottodot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dottodot/subscriptions","organizations_url":"https://api.github.com/users/dottodot/orgs","repos_url":"https://api.github.com/users/dottodot/repos","events_url":"https://api.github.com/users/dottodot/events{/privacy}","received_events_url":"https://api.github.com/users/dottodot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-09T12:29:17Z","updated_at":"2015-02-13T12:10:46Z","closed_at":"2015-02-13T12:10:46Z","body":"When using with prerender the url received by prerender is in the format of http://jxcore_target_test.example.com rather than http://test.example.com\r\n\r\nIn my sailsjs I'm using the express prerender-node middleware as below\r\n\r\n```\r\nmodule.exports.http = {\r\n  customMiddleware: function(app) {\r\n    app.use(require('prerender-node').set('prerenderServiceUrl', 'http://prerender.example.com:3000'));\r\n  }\r\n};\r\n```\r\nI'm a bit confused as to how I get the correct url sent to prerender."},"comment":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/comments/74244755","html_url":"https://github.com/jxcore/jxcore/issues/172#issuecomment-74244755","issue_url":"https://api.github.com/repos/jxcore/jxcore/issues/172","id":74244755,"user":{"login":"ktrzeciaknubisa","id":5946844,"avatar_url":"https://avatars.githubusercontent.com/u/5946844?v=3","gravatar_id":"","url":"https://api.github.com/users/ktrzeciaknubisa","html_url":"https://github.com/ktrzeciaknubisa","followers_url":"https://api.github.com/users/ktrzeciaknubisa/followers","following_url":"https://api.github.com/users/ktrzeciaknubisa/following{/other_user}","gists_url":"https://api.github.com/users/ktrzeciaknubisa/gists{/gist_id}","starred_url":"https://api.github.com/users/ktrzeciaknubisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktrzeciaknubisa/subscriptions","organizations_url":"https://api.github.com/users/ktrzeciaknubisa/orgs","repos_url":"https://api.github.com/users/ktrzeciaknubisa/repos","events_url":"https://api.github.com/users/ktrzeciaknubisa/events{/privacy}","received_events_url":"https://api.github.com/users/ktrzeciaknubisa/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T12:10:46Z","updated_at":"2015-02-13T12:10:46Z","body":"Hi, the Plesk team has just published updated version of [JXcore Plesk Extension for Node 2.5.1](https://ext.plesk.com/packages/28f799af-1ff4-4bb8-9c87-a04f0f23d32e-jxcore-support). \r\n\r\nWe gave up on upstream usage inside nginx configuration for domains and it seems to work well."}}