Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

pushmanager link-generation is not proxy-aware #65

Open
hashbrowncipher opened this issue Jun 13, 2014 · 0 comments
Open

pushmanager link-generation is not proxy-aware #65

hashbrowncipher opened this issue Jun 13, 2014 · 0 comments

Comments

@hashbrowncipher
Copy link

pushmanager has the capability to generate links to itself, but it uses the server and port it has bound to in order to generate those links. When pushmanager is run behind a proxy, the port it binds to and the port that users use to access it (i.e. the port the proxy binds to), are not the same.

When I've dealt with this issue in other proxied webapps, I have added configuration knobs that allow me to inform the app "bind to this host and port, but generate links for this host and port". Typically I would then set the webapp to bind to "127.0.0.1:" when run in production.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant