docker-taiga
docker-taiga copied to clipboard
Issue: Django admin using insecure assets
Django admin using insecure assets https://domain.tld/static/admin/....
- TAIGA_SSL_BY_REVERSE_PROXY='True'
take no effect
Other services are working properly
If you set TAIGA_SSL_BY_REVERSE_PROXY to true, then SSL isn't handled by the docker container, so you'd need to have a server in front of your taiga image to serve SSL.
If you are doing that, can you share details about your configuration to help investigate?
I'm experiencing this issue too. I have a proxy in front of my taiga.
I think this is a duplicate of #28. Please have a look there for a workaround.
Resolved adding this to local.py
MEDIA_URL = "https://yourtaigafronturl.com/media/"
STATIC_URL = "/static/"
I just came across the same issue myself. I solved it by building a Docker image from the current master branch (the one on Docker Hub appears to not be up to date). You can find my image here: https://hub.docker.com/r/cmdjohnson/taiga/
I also updated Taiga to 4.2.11. If you previously ran benhutchins/taiga, then you'll have to perform some database migrations before using my image: I just
- started Taiga as usual (same
docker-compose.yml, except for the image name) - ran
docker exec -it taiga bash - executed
python manage.py migrate --noinput && python manage.py compilemessages && python manage.py collectstatic --noinput(as described here) - disconnected from the container (
ctrl + D) and - restarted the container
Now everything works as expected, without any other changes.