amerkurev / django-docker-template

Dockerized Django with Postgres, Gunicorn, and Traefik or Caddy (with auto renew Let's Encrypt)
https://django-docker.dev
MIT License
169 stars 33 forks source link

DJANGO_SECURE_SSL_REDIRECT set to true in docker-compose.tls.yml #5

Closed shariq1989 closed 1 year ago

shariq1989 commented 1 year ago

This setting is mentioned in settings.py SECURE_SSL_REDIRECT = is_true(os.getenv('DJANGO_SECURE_SSL_REDIRECT')). However the env file does not have a var for it.