Twitter API在生产服务器上返回回调为“127.0.0.1:8001”。为什么?

时间:2014-03-02 11:53:30

标签: django callback django-socialauth python-social-auth

我的网站上的所有内容都在运行,除非我尝试使用twitter通过python-social-auth登录。它在我的本地开发服务器上运行良好,但是当我投入生产时,在twitter登录后,它会将响应发送到http://127.0.0.1:8001/complete/twitter....

我正在使用gunicorn + nginx而不太了解它,除非我已将其用于其他项目而没有任何问题。虽然,我已经绑定了枪炮--bind 127.0.0.1:8001。那是问题吗?我尝试使用--bind mydomain.com:8001,但这给了我一个502 Bad Gateway响应。

0 个答案:

没有答案
相关问题