0

I am running manage.py runserver 0:8000 but I would like to display it as HTTPS. I'm using Nginx . I have installed the certificate in the appropriate folders in Nginx. I can see the secured Nginx default page when I browsed to mywebsite.example (without port 8000) but I get a blank page when I add port 8000 to it.

I have tried multiple options below but still unable to get mywebsite.example:8000 to work on a secured SSL page. Any thoughts?

Below are what I have tried so far

  1. manage.py runserver_plus
  2. manage.py sslserver
  3. All sorts of Django extensions
Patrick Mevzek
  • 10,995
  • 16
  • 38
  • 54
Adiza Baakoe
  • 115
  • 1
  • 3
  • 5
  • 1
    Why do you want to use SSL with `manage.py runserver`? That command should only be used in development. And how is Nginx involved? – ChrisGPT was on strike Aug 31 '18 at 18:12
  • As I said on your other question, you should deploy Django properly e.g Nginx + gunicorn. If you encounter a specific problem, then show your config and any errors from the logs. Stack Overflow is not the correct place to ask for a full guide. – Alasdair Aug 31 '18 at 18:33
  • The code I'm running is this https://github.com/ribeiroit/boh-puppet/blob/master/manifests/init.pp . It uses nginx as underlying webserver. – Adiza Baakoe Aug 31 '18 at 20:35

0 Answers0