You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
由于目前用的是泛域名证书,只支持该域名及其二级域名,但是我们记录所用的域名是三级域名,curl https的时候会报证书错,那我尝试用http的进行请求,发现读不到页面。查看了项目里的setting.py才发现SECURE_SSL_REDIRECT = True,这个配置是使页面一直重定向到https的,所以http的拿不到页面,而https又由于三级域名不受证书保护的问题,无法直接访问到(需要忽略证书错误,或信任该站点)。所以当我修改了该配置为False之后,才能正常记录http的请求。如果要正常使用三级域名的话还得花钱买证书,算咯。。。
The text was updated successfully, but these errors were encountered: