我已经创建了一个 webproject Web2Py,并希望用户可以正常http://
访问http://
.
每次我键入http://domain.pythonanywhere.com
et 时都会将我重定向到http://domain.pythonanywhere.com
.
它需要 0.5 秒。做 SSL 检查,我想避免这种情况。
这是默认设置:
## if SSL/HTTPS is properly configured and you want all HTTP requests to
## be redirected to HTTPS, uncomment the line below:
# request.requires_https()