-
Notifications
You must be signed in to change notification settings - Fork 50
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
Running service under URL prefix #263
Comments
We do this on one of our demo servers (and test it on CI). The nginx fragment is
In the girder.cfg we have
The only different I see here is we are only one path deep in the reverse proxy. Did you include the |
Hi @manthey , yes I also use I think it might be something with hardcoded paths in CSS. I just figured out how to find the source of the request: there I can see the problematic paths, but not sure how/where this css file is generated:
|
That gets created as part of the |
@manthey oh, I see. I was using docker-compose setup, removing and creating new container every time I change the config. Based on the logs it seemed like it was doing some build right after the start, but you are correct that is not enough. Is it fine to build for production then? At least that seems to solve css paths.
I still get some 502 and cancelled stream, but that I think I need to figure out with NGINX proxy. |
Yes, doing the build that way is fine. You can also use a provisioning file to ask it to build the files on |
Hi,
do you have experience running Digital Slide Archive under URL prefix?
We are running a common web service on the main domain (e.g. https://custom.domain.com/) and then running Digital Slide Archive within the prefix
/services/dsa
(e.g. https://custom.domain.com/services/dsa/ )I was following the guide for Girder https://girder.readthedocs.io/en/latest/deployment-alternatives.html#reverse-proxy
but still have issues with some http requests not using URL prefix and just using e.g.
/static/...
instead of/services/dsa/static/...
. So it seems like most requests are working but some are not following the settings:The text was updated successfully, but these errors were encountered: