简体   繁体   English

https仅与使用瘦服务器(ssl)的本地主机一起使用

[英]https only working with localhost using thin server (ssl)

I am trying to run my ruby on rails project for testing purpose using the following URL: 我正在尝试使用以下URL运行我的ruby on rails项目以进行测试:

https://systemipaddress:3000

But the above doesn't work. 但是以上方法不起作用。 It seems that it works only for localhost 看来它仅适用于本地主机

How can I counter this issue because I also want to run my project on remote machines using SSL encryption. 我该如何解决这个问题,因为我也想使用SSL加密在远程计算机上运行我的项目。

I have followed the following documentation to perform SSL: 我已按照以下文档执行SSL:

http://silaror.blogspot.in/2013/05/running-rails-server-to-support-ssl.html http://silaror.blogspot.in/2013/05/running-rails-server-to-support-ssl.html

I am using thin server to run my project on Ubuntu 12.04 我正在使用瘦服务器在Ubuntu 12.04上运行我的项目

Below links will be helpfull for you 以下链接将为您提供帮助

http://www.railway.at/2013/02/12/using-ssl-in-your-local-rails-environment/
http://www.napcsweb.com/blog/2013/07/21/rails_ssl_simple_wa/

By just disabling the internet proxy settings it works with ip. 通过仅禁用Internet代理设置,它可以与ip一起使用。

we can access our projects in remote machines 我们可以在远程机器上访问我们的项目

In ubuntu, set proxy settings to none and it will work with ip as well as we can access our project from remote machines

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

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