Re: WebRTC and NGINX Reverse Proxy

2016-07-04 Thread Ben
Sounds fabulous. Thank Vintila ! On 04/07/2016 09:27, Mihai Vintila wrote: It works with something like this: location ^~ /webrtc/ { if ($my_https = "off") { return 301 https://$host$request_uri; } limit_conn conn 100; limit_req zone=basic burst=3000 nodelay; proxy

Re: WebRTC and NGINX Reverse Proxy

2016-07-04 Thread Mihai Vintila
It works with something like this: location ^~ /webrtc/ { if ($my_https = "off") { return 301 https://$host$request_uri; } limit_conn conn 100; limit_req zone=basic burst=3000 nodelay; proxy_pass http://backend; proxy_set_header X-Real-IP $remote_addr; proxy_r

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