Question

How to remove ssl certificate(lets encrypt) from django application ?

  • Posted October 12, 2016
  • Nginx

I have integrated ssl certificate(letsencrypt) . how to remove ssl(https) from the django application ?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

To disable https you will need to edit 1-2 files in /etc/nginx/sites-enabled.

There are likely to be two files here. One for http that redirects to https and your main configuration file which will support the https site and have your live configuration. If you can share the contents of these files here we can assist you in making the needed edits.

In general you will want to take some parts (document root, proxy_pass configurations in location blocks) from the https server{} section to move to the http server{} section of your configuration before removing the https server block and restarting nginx for the change to take effect. Without seeing your configuration files I cannot suggest the exact changes you’ll want to make.