You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm setting up GeoHealthCheck using Docker images, and it's working fine on port 8083. But, when I reverse proxy the GHC system into a outward facing URL containing a path (i.e. https://irrelevant.server.name/geohealthcheck/... ), I can't get it to work.
Is this supposed to be possible and if so, how is it achieved?
All URLs in the HTML are absolute (e.g. /static/... ) and I need to either make them relative to the current directory ( static/.... ) or absolute with the correct path added ( /geohealthcheck/static/... ) but I can't figure out how.
I tried setting GHC_SITE_URL in the Docker environment, which I think only affects the email alerts, and some googling gave me a hint about APPLICATION_ROOT, which might be some Flask mechanism for fixing this. But neither would work, and I ended up with a somewhat working solution based on nginx:s sub_filter, which is text substitution on the outgoing HTML and clearly not right.
The text was updated successfully, but these errors were encountered:
I'm setting up GeoHealthCheck using Docker images, and it's working fine on port 8083. But, when I reverse proxy the GHC system into a outward facing URL containing a path (i.e.
https://irrelevant.server.name/geohealthcheck/...
), I can't get it to work.Is this supposed to be possible and if so, how is it achieved?
All URLs in the HTML are absolute (e.g.
/static/...
) and I need to either make them relative to the current directory (static/....
) or absolute with the correct path added (/geohealthcheck/static/...
) but I can't figure out how.I tried setting
GHC_SITE_URL
in the Docker environment, which I think only affects the email alerts, and some googling gave me a hint aboutAPPLICATION_ROOT
, which might be some Flask mechanism for fixing this. But neither would work, and I ended up with a somewhat working solution based on nginx:ssub_filter
, which is text substitution on the outgoing HTML and clearly not right.The text was updated successfully, but these errors were encountered: