Welcome! Log In Create A New Profile

Advanced

Re: Помогите разобраться почему не работает

August 24, 2011 05:52AM
Разобрался.
сделал тупо:
location @x_www {
internal;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param HTTP_REFERER $http_referer;
fastcgi_param HTTP_X_FORWARDED_FOR $proxy_add_x_forwarded_for;
fastcgi_param SCRIPT_FILENAME /var/www/rm/htdocs/index.php;
fastcgi_pass php_local;
}

location @static {
internal;
root /var/www/site/htdocs/;
}

location / { try_files @x_www; }

location /i/ { try_files @static; }
location /js/ { try_files @static; }
location /css/ { try_files @static; }
location /data/ { try_files @static; }
Subject Author Posted

Помогите разобраться почему не работает

gamak August 23, 2011 08:23AM

Re: Помогите разобраться почему не работает

Валентин Бартенев August 23, 2011 02:04PM

Re: Помогите разобраться почему не работает

gamak August 23, 2011 11:55PM

Re: Помогите разобраться почему не работает

gamak August 24, 2011 05:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready