mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
When I change to use domain, it load forever #150
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cmdntd on GitHub (Dec 16, 2021).
I try to change to sub-domain, and use reserve proxy from docker
It load forever at first black status page.
My error
Could you check this, please?
@devSparkle commented on GitHub (Dec 26, 2021):
I experienced this issue while setting up my instance too. Did you change the
BASE_URLenvironment variable to the browsable subdomain, in your Planka docker configuration?@cmdntd commented on GitHub (Dec 27, 2021):
Yes. I changed it.
Then I tried to change TRUST_PROXY=1, it has the same issuse.
Coud I use SSL here?
@devSparkle commented on GitHub (Dec 30, 2021):
What kind of proxy are you setting up? In my case I was using NGINX, which requires the following headers be setup to function as a WebSocket proxy:
@cmdntd commented on GitHub (Dec 30, 2021):
I use
openlitespeed, andreserve proxyfor docker@3615alexis commented on GitHub (Feb 16, 2022):
Hello,
I have the same issue here :
In Chrome :
In Firefox :
On the contrary there is no error if I put BASE_URL=http://MY.LOCAL.IP:3000 (but I can't benefit from my domain)
Could this be linked to some config files, for instance server/config/env/production.js where we can declare 'onlyAllowOrigins' on websites allowed to open socket connections ? Could this be configurable from docker-compose.yml ?
Thanks for your help
@3615alexis commented on GitHub (Feb 16, 2022):
Finally I made it work ! It was linked to a bad management of SSL for WebSocket protocol.
I ended up having this in my "docker-compose.yml":
And I have this in my Apache conf (the RewriteCond in "location /" did make the trick) :