Welcome! Log In Create A New Profile

Advanced

Re: Два php-fpm'a и nginx

Qaz
March 18, 2011 06:02AM
Ну тоесть схема такая:

сервер1 nginx+php-fpm
сервер2 только php-fpm
сервер3 mysql
сервер4 статика

Может я вообще логику не правильно выстроил? Я просто хотел вынести на дополнительный сервер обработку php скриптов, и сделал такую вот схему:

upstream backend {
server 127.0.0.1:9000;
server x.x.x.x:9000;
}

location ~ \.php$ {
root /usr/local/www/nginx-dist/;
fastcgi_pass backend;
Subject Author Posted

Два php-fpm'a и nginx

Qaz March 18, 2011 04:24AM

Re: Два php-fpm'a и nginx

stitrace March 18, 2011 04:30AM

Re: Два php-fpm'a и nginx

Qaz March 18, 2011 04:42AM

Re: Два php-fpm'a и nginx

stitrace March 18, 2011 04:51AM

Re: Два php-fpm'a и nginx

stitrace March 18, 2011 05:35AM

Re: Два php-fpm'a и nginx

No1 April 19, 2011 10:09AM

Re: Два php-fpm'a и nginx

No1 April 19, 2011 10:10AM

Re: Два php-fpm'a и nginx

Qaz March 18, 2011 05:08AM

Re: Два php-fpm'a и nginx

Qaz March 18, 2011 05:49AM

Re: Два php-fpm'a и nginx

stitrace March 18, 2011 05:53AM

Re: Два php-fpm'a и nginx

Qaz March 18, 2011 06:02AM

Re: Два php-fpm'a и nginx

Rush March 19, 2011 10:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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