This PR depends of #7. I'll rebase it if #7 isn't merge in fast-forward mode.
57deffdb allows to put Hotglue in a Docker container with nginx at the front:
front-end WONT define HTTPS to 1, but WILL define X-Forwarded-Proto to 'https'.
So, currently, Hotglue serves http:// links. This change allows to detect this situation and correctly serve https:// links.
This PR depends of #7. I'll rebase it if #7 isn't merge in fast-forward mode.
57deffdb allows to put Hotglue in a Docker container with nginx at the front: front-end WONT define HTTPS to 1, but WILL define X-Forwarded-Proto to 'https'.
So, currently, Hotglue serves http:// links. This change allows to detect this situation and correctly serve https:// links.