Re: Erro 502 Bad Gateway help

2016-07-02 Thread Yuriy Medvedev
Hi. You must use fastcgi_pass if you use fastcgi server as backend e.g. php-fpm. If you use apache as backend you must use proxy_pass. 2 июля 2016 г. 10:25 пользователь "Francis Daly" написал: On Sat, Jul 02, 2016 at 06:21:38AM +, yair avendaño wrote: Hi there, > Hi I'm setting up a nginx a

Re: Erro 502 Bad Gateway help

2016-07-02 Thread Francis Daly
On Sat, Jul 02, 2016 at 06:21:38AM +, yair avendaño wrote: Hi there, > Hi I'm setting up a nginx as a reverse proxy but to try to see a site with > drupal locally that have shown me 502 Bad Gateway error. "drupal" is possibly served by a http server, not a fastcgi server. > this gets me in

Re: Erro 502 Bad Gateway help

2016-07-02 Thread 四弦
Hello, Where did you PHP install? You can edit /path/to/php_dir/etc/php-fpm.conf,or sometimes there will be a dir called 'www.conf.d',if it is,please change in the directory,and edit www.conf which is in the www.conf.d. You will find a option called 'listen' in the configuration file below,make sur

Erro 502 Bad Gateway help

2016-07-01 Thread yair avendaño
Hi I'm setting up a nginx as a reverse proxy but to try to see a site with drupal locally that have shown me 502 Bad Gateway error. this gets me in the logs. 016/07/02 00:51:57 [error] 18120#0: *61 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstrea