Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dueros上线的问题 #15

Open
nopeiyu opened this issue Sep 19, 2018 · 3 comments
Open

dueros上线的问题 #15

nopeiyu opened this issue Sep 19, 2018 · 3 comments

Comments

@nopeiyu
Copy link

nopeiyu commented Sep 19, 2018

dueros程序模拟测试没有任何问题,但是在发布上线的时候提示所使用的网站不支持https和Head处理,请问大神有没有上线过应用啊,这个问题是咋解决的呢,谢谢

@tsingliuwin
Copy link

给自己的域名配置https

@hotbaby
Copy link

hotbaby commented Jul 30, 2019

添加HTTP HEAD请求处理

    def option(self, request, *args, **kwargs):
        return Response(status=200)

    def head(self, request, *args, **kwargs):
        return Response(status=204)

    def get(self, request, *args, **kwargs):
        return Response(status=200)

@hotbaby
Copy link

hotbaby commented Jul 30, 2019

去百度买个证书,免费😄,再配置下Nginx等Web服务器就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants