> üÔÏ ÎÅÐÒÁ×ÉÌØÎÁÑ
> ËÏÎÆÉÇÕÒÁÃÉÑ, ×ÏÔ
> ÐÒÁ×ÉÌØÎÁÑ:
>
> š š š šlocation / {
> š š š š š štry_files š$uri š$uri/ š @maxsite;
> š š š š}
>
> š š š šlocation ~ \.php {
> š š š š š fastcgi_pass šunix:/tmp/php-fpm.sock;
> š š š š š fastcgi_index index.php;
> š š š š š include fastcgi_params;
> š š š š š fastcgi_param SCRIPT_FILENAME
/path/to/maxsite$fastcgi_script_name;
> š š š š š fastcgi_param PATH_INFO $fastcgi_script_name;
> š š š š}
>
> š š š šlocation @maxsite {
> š š š š š fastcgi_pass šunix:/tmp/php-fpm.sock;
> š š š š š include fastcgi_params;
> š š š š š fastcgi_param SCRIPT_FILENAME /path/to/maxsite/index.php;
> š š š š š fastcgi_param PATH_INFO /index.php$uri;
> š š š š}
>
>
> --
> Igor Sysoev
>
http://sysoev.ru/en/
>
> _______________________________________________
> nginx-ru mailing list
>
nginx-ru@xxxxxxxxx
>
http://nginx.org/mailman/listinfo/nginx-ru
ôÁËÁÑ ÐÒÁ×ÉÌØÎÁÑ ËÏÎÆÉÇÕÒÁÃÉÑ ×ÙÄÁÅÔ