PHPMYADMIN登录后出现以下问题,提示:
400 Bad Request: The plain HTTP request was sent to HTTPS port
以下解决方案来自antoniolorusso.com,猛击此处访问原文:http://goo.gl/z6gbS
When you are using the FastCGI Php version, you would set HTTPS variable if you are serving parts of you website with SSL.To do that, add the following function into the http section of your nginx configuration(以下内容添加到http字段内):
map $scheme $fastcgi_https { ## Detect when HTTPS is used
default off;
https on;
}
以下内容添加到server字段内:
fastcgi_param HTTPS $fastcgi_https;