通过 HTTPS 的 GAE dev_appserver.py [英] GAE dev_appserver.py over HTTPS

查看:26
本文介绍了通过 HTTPS 的 GAE dev_appserver.py的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人破解过如何让 HTTPS 在 dev_appserver.py 上工作?我需要它来进行 Facebook 画布应用测试.我已经搜索过文档,但没有任何迹象表明有办法做到这一点(在 app.yaml 中粘贴安全"在本地没有任何意义).

Has anyone cracked how to get HTTPS working on the dev_appserver.py? I need it for Facebook canvas app testing. I've had a search of the docs and nothing suggests there's a way to do it (sticking 'secure' in the app.yaml doesn't nothing locally).

我认为可能有一种方法可以代理它,但有人有这方面的经验吗?

I was think there may be a way to proxy it, but has anyone got any experience of this?

推荐答案

dev_appserver 不支持 HTTPS.唯一可行的方法是在您的应用前设置一个反向代理 - 例如使用 nginx 或 Apache - 并让它代理 SSL 流量到您的应用.

The dev_appserver doesn't support HTTPS. The only practical way to do this is to set up a reverse proxy in front of your app - such as with nginx or Apache - and have it proxy SSL traffic to your app.

这篇关于通过 HTTPS 的 GAE dev_appserver.py的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆