Welcome! Log In Create A New Profile

Advanced

Re: location php-fpm

December 19, 2011 10:04AM
>
> Если будет отдавать 403-ю
> ошибку при каждом запросе
> на /stat - то значит запрос
> попадает в локейшн, и
> проблема в пхп!
>
Да, отдает 403.

Полный код:
location ^~ /stat/ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index st.php;
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
include fastcgi_params;
}

php скрипт в /var/www/html/stat/

Видимо нужно в пхп копать, хотя php -v | -m все ок.
Subject Author Posted

location php-fpm

adept December 17, 2011 06:01PM

Re: location php-fpm

hg_04 December 18, 2011 03:34PM

Re: location php-fpm

Craken December 19, 2011 01:22AM

Re: location php-fpm

hg_04 December 19, 2011 02:09PM

Re: location php-fpm

Валентин Бартенев December 18, 2011 06:06PM

Re: location php-fpm

adept December 19, 2011 05:31AM

Re: location php-fpm

Валентин Бартенев December 19, 2011 05:54AM

Re: location php-fpm

Craken December 19, 2011 06:11AM

Re: location php-fpm

adept December 19, 2011 06:38AM

Re: location php-fpm

adept December 19, 2011 06:39AM

Re: location php-fpm

Craken December 19, 2011 07:11AM

Re: location php-fpm

adept December 19, 2011 10:04AM

Re: location php-fpm

Валентин Бартенев December 19, 2011 07:56AM

Re: location php-fpm

Валентин Бартенев December 19, 2011 02:36PM

Re: location php-fpm

adept December 19, 2011 05:49PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready