Re[2]: Proxying to ip-camera

2016-04-07 Thread wishmaster
Hi, Francis. > On Thu, Apr 07, 2016 at 06:44:08PM +0300, wishmaster wrote: > > Hi there, > > > > I have the web site and would like to proxying all requests to /ipcam > > > location to internal ip-camera. > > > > > > website http://site.com > > > ip-cam http://site.com/ipcam > > > > With port

Re: Performance of NGINX on 16 instances vs 1 instance

2016-04-07 Thread Alexandr Porunov
Hello, Maxim Thank you very much Sincerely, Alexandr On Thu, Apr 7, 2016 at 6:00 PM, Maxim Konovalov wrote: > Hello, > > On 4/7/16 5:55 PM, Alexandr Porunov wrote: > > Hello, > > > > I would like to know how NGINX works on a server with 16 cores. Is > > it is better to run one instance of NGIN

Re: Proxying to ip-camera

2016-04-07 Thread Francis Daly
On Thu, Apr 07, 2016 at 06:44:08PM +0300, wishmaster wrote: Hi there, > > I have the web site and would like to proxying all requests to /ipcam > > location to internal ip-camera. > > > > website http://site.com > > ip-cam http://site.com/ipcam > > With port redirection by firewall all works f

Re: Proxying to ip-camera

2016-04-07 Thread wishmaster
> > Hi, > > I have the web site and would like to proxying all requests to /ipcam > location to internal ip-camera. > > website http://site.com > ip-cam http://site.com/ipcam > > Below config: > > location /ipcam { > proxy_pass http://192.168.20.99:80/; > proxy_redirect off; > proxy_set_head

Re: Performance of NGINX on 16 instances vs 1 instance

2016-04-07 Thread Maxim Konovalov
Hello, On 4/7/16 5:55 PM, Alexandr Porunov wrote: > Hello, > > I would like to know how NGINX works on a server with 16 cores. Is > it is better to run one instance of NGINX in a bare metal or run 16 > virtual servers with NGINX instance on each? > Just one instance and "worker_processes auto".

Performance of NGINX on 16 instances vs 1 instance

2016-04-07 Thread Alexandr Porunov
Hello, I would like to know how NGINX works on a server with 16 cores. Is it is better to run one instance of NGINX in a bare metal or run 16 virtual servers with NGINX instance on each? Sincerely, Alexandr ___ nginx mailing list nginx@nginx.org http://

Re: Bug in 1.9.14 or something else?

2016-04-07 Thread Valentin V. Bartenev
On Wednesday 06 April 2016 15:38:31 jshare wrote: > I'm running a WordPress 4.4.2-based membership site on Ubuntu 12.04 LTS with > PHP 5.6.20. > > After upgrading to 1.9.14 (compiling from source with no errors or > warnings), I could no longer log in to my site, using Firefox/Chrome/IE. > Trying

Proxying to ip-camera

2016-04-07 Thread wishmaster
Hi, I have the web site and would like to proxying all requests to /ipcam location to internal ip-camera. website http://site.com ip-cam http://site.com/ipcam Below config: location /ipcam { proxy_pass http://192.168.20.99:80/; proxy_redirect off;

Re: Nginx proxy cache/temp folders empty when located inside /tmp on CentOS 7

2016-04-07 Thread fevangelou
Awesome. Thank you :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265943,265986#msg-265986 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: default server with custom 404

2016-04-07 Thread Robin Becker
On 07/04/2016 13:17, Francis Daly wrote: ... For every unique "listen IP" or "listen IP:80" directive that you have anywhere in your config, add the same line to this server{} with default_server set. (Which means: if you have somewhere "listen 127.0.0.1:80;", then you add a line "liste

Re: default server with custom 404

2016-04-07 Thread Francis Daly
On Thu, Apr 07, 2016 at 10:31:31AM +0100, Robin Becker wrote: > On 06/04/2016 23:14, Francis Daly wrote: Hi there, > >>Is there a way to customize my error page for this case? > > > >What you have done should work. Depending on the rest of your config, > >of course. > I suspect my issue has more

Regarding development nginx module

2016-04-07 Thread Pankaj Chaudhary
Hi, This is Pankaj,I am trying to write a module which is capable to access header value and set header and reading cookie and setting cookie. if i refer apache module then found apr_table_get() and apr_table_set() APIs are available to get/set header/cookie values. I have tried to use ngx_http

Re: default server with custom 404

2016-04-07 Thread Robin Becker
On 06/04/2016 23:14, Francis Daly wrote: ... That's not what I get. If you still have the problem, perhaps the debug log will show more about what is going on. Is there a way to customize my error page for this case? What you have done should work. Depending on the rest of your conf