Discuz! Board

标题: 关于apprtc使用https的一些文章 [打印本页]

作者: zangcf    时间: 2016-8-6 14:58
标题: 关于apprtc使用https的一些文章
As I mentioned, you can run on HTTP if you start AppRTC on localhost:8080 by starting the instance without any parameters /google_appengine/dev_appserver.py /apprtc/out/app_engine/ then navigate to http://localhost:8080 in your browser.
If you want to run SSL you need to setup a proxy that forwards your traffic to the AppRTC instance. I recommend stunnel for development (if you use it for production make sure to secure it properly).
Documentation can be found here: https://www.stunnel.org/docs.html
An stunnel guide can be found here: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ssl-tunnel-using-stunnel-on-ubuntu
Basic steps:
accept = 443connect = 127.0.0.1:8080cert = /etc/stunnel/stunnel.pem

作者: zangcf    时间: 2016-8-6 15:31
http://www.jianshu.com/p/5431a7066f47
戴维营的这个




欢迎光临 Discuz! Board (http://47.89.242.157:9000/bbs/discuz/) Powered by Discuz! X3.2