简体   繁体   English

关闭SSL Django / Python服务器(Heroku)

[英]Turn off SSL Django/Python server (Heroku)

How do I turn off SSL on a python (django) heroku app? 如何在python(django)heroku应用程序上关闭SSL? No answers here on SO. 这里没有答案。 Need to do POSTs from other websites, can only do that with http 需要从其他网站发布信息,只能通过http进行

You can not turn off SSL. 您无法关闭SSL。 It is on by default https://blog.heroku.com/archives/2012/5/3/announcing_better_ssl_for_your_app 默认情况下处于启用状态https://blog.heroku.com/archives/2012/5/3/announcing_better_ssl_for_your_app

To do a POST to a different domain/port/protocol you are running into https://en.wikipedia.org/wiki/Same-origin_policy . 要对其他域/端口/协议进行POST,您需要运行https://en.wikipedia.org/wiki/Same-origin_policy

This SO answer details out the methods on bypassing same origin policy. 该SO答案详细介绍了绕过相同来源策略的方法。 Ways to circumvent the same-origin policy 规避原产地政策的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM