在server中加上红色所示一行:
server { listen 443; ... more config here, include SSL ... location ~ \.php$ { ... FastCGI config here ... fastcgi_param HTTPS on; } }
转载于:https://www.cnblogs.com/fatlyz/archive/2012/05/21/2511458.html
在server中加上红色所示一行:
server { listen 443; ... more config here, include SSL ... location ~ \.php$ { ... FastCGI config here ... fastcgi_param HTTPS on; } }
转载于:https://www.cnblogs.com/fatlyz/archive/2012/05/21/2511458.html