![]() |
is_https do not work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: is_https do not work (/showthread.php?tid=64180) |
is_https do not work - chaegumi - 01-24-2016 Code: string(60) "============================================================" I change domain and ip for secret。 PHP Code: // this is codeigniter common function My $_SERVER variable only has SERVER_PORT RE: is_https do not work - skunkbad - 01-24-2016 Sounds like an nginx problem, or that your specific installation of nginx is wacky. You will probably need to customize your own is_https function. RE: is_https do not work - chaegumi - 01-24-2016 (01-24-2016, 08:59 PM)skunkbad Wrote: Sounds like an nginx problem, or that your specific installation of nginx is wacky. You will probably need to customize your own is_https function. Yes,I add fastcgi_param HTTPS on; in nginx conf file. Thanks. |