Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Support for reverse proxy #55

Open
kallekoivisto opened this issue Jul 20, 2018 · 6 comments
Open

Support for reverse proxy #55

kallekoivisto opened this issue Jul 20, 2018 · 6 comments
Assignees
Milestone

Comments

@kallekoivisto
Copy link

Hi there and thanks for a promising looking project!

I have tried to run BookBrowser on my home server behind a reverse proxy (nginx), but using an additional url block (such as /bookbrowser) doesn't seem to work. It breaks the links of the app.

e.g. mydomain.lan/bookbrowser/ redirects me to mydomain.lan/books which causes 404. The app should understand to use mydomain.lan/bookbrowser/books instead

Could you consider adding a support for an optional prefix for the URI paths?

@pgaskin
Copy link
Owner

pgaskin commented Jul 21, 2018

Yep. I'll do that when I finish the next version (a complete rewrite). I'll be away for the next few weeks though, so it may be a while.

@pgaskin pgaskin self-assigned this Jul 21, 2018
@kallekoivisto
Copy link
Author

Thanks man, enjoy your time off.

@sKanoodle
Copy link

@Quinz A workaround for your problem would be to use a subdomain like for example bookbrowser.mydomain.lan, this would eliminate the need to rewrite the url.
This could complicate name resolution if you don't use a DNS server for your LAN domain lookup, though.

@kallekoivisto
Copy link
Author

kallekoivisto commented Jul 31, 2018

Hi @sKanoodle, unfortunately I don't have the luxury of subdomains as my internet facing address is from dyndns. My example urls in the first post are confusing, sorry for that. Your tip can be useful for somebody else though!

@pgaskin pgaskin added this to the v4.1.0 milestone Feb 24, 2019
@kallekoivisto
Copy link
Author

Hello, is there any estimate when the new release with this feature would be out?

@pgaskin
Copy link
Owner

pgaskin commented Jan 24, 2020

Sorry, it's been delayed quite a bit, as I have quite a few other things which have a higher priority (BookBrowser works for me as-is right now). I'll be doing it when I get around to it. I don't have any estimate right now, other than sometime this year.

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

No branches or pull requests

3 participants