Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nginx rewrite for Maxsite CMS



3 2011. 13:43 xopek <nginx-forum@xxxxxxxx> :
>
> ,
> :
>
> 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


404

root /site/maxsite;
?


--
Regards,
Slava
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.