Articles tagged with "ssl", sorted by ratingX
Displaying 1-1 of 1 result(s).

Yii behind a reverse proxy, SSL support and correct IP logging

Created 5 years ago by mrkmgTips0 comments – viewed 7,114 times – ( -1 ) – version 1.1
If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php