By sidhartha
I have integrated ssl certificate(letsencrypt) . how to remove ssl(https) from the django application ?
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.