Docker icon indicating copy to clipboard operation
Docker copied to clipboard

Setting Site URL doesn't change most site links from localhost:<port>

Open stlasalle opened this issue 8 years ago • 2 comments

cachet_ver: v2.3.13 docker version: 17.09.0-ce docker-compose version: 1.17.1

I have just set up the docker image on a cloud server, and have set it up behind an nginx reverse proxy with SSL as mentioned at the bottom of this page. After having completed the initial setup, almost all the links still start with localhost:6789.

image This shows the Site URL set by me, but when I hover over 'components' on the left panel I am still directed to localhost:6789/dashboard/components

From reading other github issues this seems related to Cachet issue #1545

Does anyone have any suggestions?

stlasalle avatar Dec 05 '17 09:12 stlasalle

I just experienced the same issue. Fresh docker setup running behind an nginx reverse proxy. I tried to add the ENV Variables APP_URL and TRUSTED_PROXIES - both did not help. What are we missing?

Thanks for any hints, Johannes

jfuerwentsches avatar May 15 '19 15:05 jfuerwentsches

If you are still interested, I posted a Dockerfile example that fixes (in an ugly way) this issue: https://github.com/CachetHQ/Cachet/issues/3952

thomvaill avatar Feb 27 '20 11:02 thomvaill