简体   繁体   English

如何在没有SSL的情况下运行Diaspora

[英]How do I to run Diaspora without SSL

I want to run diaspora without ssl in my home based webserver in production mode. 我想在生产模式下的家庭Web服务器中运行不带ssl的diaspora。 How can I do that? 我怎样才能做到这一点? Are there any switches/options that I can turn off? 有没有我可以关闭的开关/选项?

Yes, you can just set require_ssl to false in your config/diaspora.yml . 是的,您可以在config/diaspora.yml中将require_ssl设置为false Then restart Diaspora and make sure to clear your browsers cache, since redirects are cached by most browsers. 然后重新启动Diaspora,并确保清除浏览器缓存,因为大多数浏览器都缓存了重定向。

If you're using a reverse proxy also make sure you don't blindly follow the example configurations Diaspora provides, they do redirect from HTTP to HTTPS. 如果您使用的是反向代理,还请确保不要盲目遵循Diaspora提供的示例配置,它们确实会从HTTP重定向到HTTPS。

However we strongly recommend to not do that, you can get a free certificate from startssl.com. 但是,我们强烈建议您不要这样做,您可以从startssl.com获得免费证书。

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

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