I experience a problem with HistomicsUI when deploying behind a reverse proxy. While most static assets load correctly, the following assets do not respect the new context root of girder:
In the image below you can see that the me enpoint and Girder_Favicon.png asset are correctly accessed at the https://localhost/dsa/girder/api/v1/user/me and https://localhost/dsa/girder/static/built/Girder_Favicon.png paths, respectively. The problematic assets mentioned above are incorrectly accessed at path https://localhost/static/built/assets (notice missing /dsa/girder part). Note: the redirection is caused by my security setup.
I confirm the problematic assets to be present at expected location after manual update of the path. For instance for https://localhost/dsa/girder/static/built/assets/Girder_Mark-6719b633.png:
I presume that somewhere the HistomicsUI code does not consistently incorporate girder configuration options.
Hello and thank you for your application!
Problem
I experience a problem with HistomicsUI when deploying behind a reverse proxy. While most static assets load correctly, the following assets do not respect the new context root of girder:
In the image below you can see that the
me
enpoint andGirder_Favicon.png
asset are correctly accessed at thehttps://localhost/dsa/girder/api/v1/user/me
andhttps://localhost/dsa/girder/static/built/Girder_Favicon.png
paths, respectively. The problematic assets mentioned above are incorrectly accessed at pathhttps://localhost/static/built/assets
(notice missing/dsa/girder
part). Note: the redirection is caused by my security setup.I confirm the problematic assets to be present at expected location after manual update of the path. For instance for
https://localhost/dsa/girder/static/built/assets/Girder_Mark-6719b633.png
:I presume that somewhere the HistomicsUI code does not consistently incorporate girder configuration options.
Configuration
Apache config
Girder config
Docker compose file
Note: This compose file extends other compose files not shown here