Welcome! Log In Create A New Profile

Advanced

Php вызывается дважды при одном запросе

greenh
October 26, 2012 05:52AM
Добрый день
подскажите плз, от чего такое происходит
связка nginx+php-fpm
при обращении к сайту php скрипт вызывается дважды

Вот конфиг:

ssl on;
ssl_protocols SSLv3 TLSv1;
ssl_prefer_server_ciphers on;
ssl_ciphers AES128-SHA:AES256-SHA:RC4-SHA:DES-CBC3-SHA:RC4-MD5;
ssl_certificate /usr/local/etc/nginx/server.crt;
ssl_certificate_key /usr/local/etc/nginx/server.key;
ssl_session_cache shared:SSL:500m;
ssl_session_timeout 10m;

server_name domain;
root /home/dimonka/domain;
index index.php;
rewrite ^ /index.php;

limit_conn lconn 3;
location ~ .php$ {fastcgi_pass unix:/home/dimonka/run/socket;
<------>fastcgi_index index.php;
<------>fastcgi_param PHPRC "/home/dimonka/php";
<------>fastcgi_param SCRIPT_FILENAME
/home/dimonka/domain$fastcgi_script_name;
<------>include fastcgi_params;
}
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Php вызывается дважды при одном запросе

greenh October 26, 2012 05:52AM

Re: Php вызывается дважды при одном запросе

Pavel V. October 27, 2012 01:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 201
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