YII with NGinx

Hello,

I want to switch from Apache to Nginx.

I use this this to configure my Nginx VHost:

http://www.yiiframework.com/doc/guide/1.1/en/quickstart.apache-nginx-config#nginx

But it’s not working. I only get “502 Bad Gateway” :(

Any help on configure Nginx to work with YII?

Thanks,

Urkman

http://www.yiiframework.com/doc-2.0/guide-start-installation.html#recommended-nginx-configuration ?