Nginx configuration file
Server
{listen 80;
443 SSL http2 listen; Server_name www.atianzi.com; Index index. PHP index. HTML index. HTM default. The default PHP. HTM default. The HTML. Root/WWW/below/atianzi; If ($server_port! ~ 443) {rewrite ^ (. *) https://www.atianzi.com$1 permanent; }
Use the test tool is to show 301, through the search a variety of methods can not find to solve the problem,