-
-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable relative url, eg hosting on http://myhost/strider/... #596
Comments
In the current implementation of Strider there is no centralized URL generator like that of the likes of url_for or link_to (from Ruby on Rails) that you can modify for this purpose. It could be implemented, especially considering that My suggestion is reverse proxy strider on a subdomain instead of a path if possible. |
I would prefer sibdomain as well, bit currently do not have this option in
|
Unfortunately I don't have time to hack this out, but if you do, PR will be appreciated and accepted! |
in progress.. currently somewhat lower prio due to issues with the websocket, need to sort that out first. |
@hans-d what issues with websockets? |
@knownasilya reverse proxying websockets it still a real issue. I haven't got it to work with haproxy yet and I spent days trying. It's outside of strider's scope though. The best experience I've had with reverse proxying websockets has been with node-http-proxy |
@keyvanfatehi Maybe my implementation of HTTP_PROXY env will help you? |
Only changing absolute paths to relative is sufficient to me. I can change baseUrl with proxy_redirect parameter of nginx. |
Currently all links are relative to the root.
Trying to set it up in a more restricted environment with one server (ip) for multiple webapps, where I do not control the dns/htts proxy/firewall/..., windows clients cannot modify the local hosts file (no admin rights), and everything not an ip goes always via an http proxy that cannot reach the server due to firewall restrictions.
I can only do redirect based on url prefixes, and would rather not have to modify the response body from the reverse proxy on that server.
I saw no setting (yet?) where I can control this.
The text was updated successfully, but these errors were encountered: