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

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

问题描述

有没有人破解如何让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.

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

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