WebRTC and NGINX Reverse Proxy

2016-07-02 Thread Ben
Hi, I have a PBX that has a webRTC feature (i.e. you login to PBX website and you have a virtual handset with all the features). Is it feasible or possible to use NGINX as a reverse proxy to handle webRTC ? A basic NGINX config just using proxy_pass doesn't seem to work, so I'm guessing th

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