вторник, 6 января 2015 г.

Example nginx config for Yii 2 (advanced) for openserver

Only a couple lines changed.
try_files $uri $uri/ /index.php?$args;
root  "%hostdir%/frontend/web";
Put file Nginx-1.7_vhost.conf it in project folder.


It's only for dev, not production