Question

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

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.