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

修复Https 请求判断不准 #726

Merged
merged 1 commit into from
Jun 8, 2017
Merged

修复Https 请求判断不准 #726

merged 1 commit into from
Jun 8, 2017

Conversation

xutl
Copy link
Contributor

@xutl xutl commented Jun 8, 2017

当服务器在负载均衡后端时,单纯的使用$_SERVER['HTTPS']来判断是不准的,因为负载均衡前端走Https,后端走Http的情况下,判断会出错。

当服务器在负载均衡后端时,单纯的使用$_SERVER['HTTPS']来判断是不准的,因为负载均衡前端走Https,后端走Http的情况下,判断会出错。
@overtrue overtrue merged commit 00fe435 into w7corp:master Jun 8, 2017
@xutl xutl deleted the patch-1 branch June 9, 2017 02:14
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

Successfully merging this pull request may close these issues.

2 participants