django-templated-mail icon indicating copy to clipboard operation
django-templated-mail copied to clipboard

Protocol should be a setting like DOMAIN and SITE_NAME

Open Vijayabhaskar96 opened this issue 2 years ago • 0 comments

Currently, the protocol is automatically chosen by checking whether the request is secure or not, or by getting from the context. I'm using Django just for API and Vue as the frontend, both are running from docker containers with Nginx, so I can't pass the context and since Django is behind Nginx, the connection is "http" inside the container, so the protocol stays "http", it would be great If there is an option like DOMAIN that I can provide in the settings.py.

Vijayabhaskar96 avatar May 03 '22 10:05 Vijayabhaskar96