-
Notifications
You must be signed in to change notification settings - Fork 32
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
Unable to load when reverse proxy is configured with a location other than root #1025
Comments
Hi, yeah unfortunately I don't think it will work not on the root. |
i am confused because my redirect removes the URI. This is also visible in the AlbyHub logs
as you can see the URI is /, the status code is 200, but the page is just blank.. No indication of an error in the logs.. |
Hi, what version are you running? did you start/unlock Alby Hub? |
HI |
@daum3ns what error code do you get on the white page? did you setup the proxy correctly for https and correctly configure your subdomain? |
i think i just figured it out... if i make a call to the .js file (which fails to load in screenshot 1) manually, and add the /albyhub/ path in front, i can fetch it.... so albyhub responds with "please load the file from /" but this should be translated to "please load /albyhub/" in my case... i will check if i can achieve this in nginx proxy... |
seems to be hard to solve this in nginx... i would have to rewrite the responses from albyhub to include the path prefix... i tried setting both BASE_URL and FRONTEND_URL env vars, but from what i can tell from looking at the code this is only used for oauth redirects... a setting like PATH_PREFIX or something would be really nice, if it is set, albyhub just always puts it in front of the uri... could this be added in this line here?
or could it be done like this? Line 30 in 3e1d16d
|
@daum3ns I think several changes need to be made to make it work properly and a bit more complex configuration, which I would try to avoid unless really necessary. Just to understand better, why can't you use a subdomain? |
I am working on the integration of albyhub for the NODL (https://www.nodl.eu/) |
@daum3ns for self-hosting, Start9 and Umbrel give different .local addresses too. For nodl cloud using a different port could be good to try, since it wouldn't require any changes on Alby Hub's end. But please let me know if that doesn't work for you. |
First time trying Alby Hub and I noticed that if I serve it (with nginx) to the outside in
mydomain.com/alby
, the browser will show an error aboutmalformed jwt
and the main page will not load. Setting the location to / solves the issue (mydomain.com/
).The text was updated successfully, but these errors were encountered: