Hi Manos,
On 11/11/2019 15.30, Manos Zeakis wrote:
Hello everyone
I want to setup my django server to serve as https.
I have found (and tried) some information about
1. Cookies Settings configuration
2. Environmental variable HTTPS
3. A setting that has to do with Proxy SSL Header
4. A need to configure NginX or Gunicorn
but no solid information that could drive me from the beginning to the
end of such a procedure. Are you aware of a tutorial or instructions
guide to help me on this procedure?
I believe I used this guide:
https://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html
It's pretty good step-by-step by step guide and has good help with
troubleshooting.
I think you should focus on getting Django to work with UWSGI and a web
server proxy first (in this case Nginx) without SSL.
Once you have that working, it is fairly trivial to make the same setup
work with HTTPS. That is more or less a web server configuration issue.
Hope that helps.
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/3a685edd-81f4-57a3-8c39-77985d63e0c1%40stacktrace.dk.