https setup

31 views
Skip to first unread message

Manos Zeakis

unread,
Nov 11, 2019, 11:54:46 AM11/11/19
to Django users
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?

Thank you

Kasper Laudrup

unread,
Nov 11, 2019, 12:37:06 PM11/11/19
to django...@googlegroups.com
Hi Manos,
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

Peter van der Does

unread,
Nov 11, 2019, 12:54:36 PM11/11/19
to django...@googlegroups.com
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b8030e6a-e5a7-47fd-afcd-bc5a0c0ebc6b%40googlegroups.com.
--
Peter van der Does
o: 
410-584-2500
ONeil Interactive, Inc 

Manos Zeakis

unread,
Nov 11, 2019, 11:32:34 PM11/11/19
to Django users
Thank you very much!

Manos Zeakis

unread,
Nov 11, 2019, 11:32:58 PM11/11/19
to Django users
Thank you!


On Monday, 11 November 2019 19:54:36 UTC+2, Peter van der Does 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?

Thank you
--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages