set_real_ip_from,real_ip_header directive in ngx_http_realip_module

2017-02-27 Thread Nishikubo Minoru
Hello, I tried to limit an IPv4 Address with ngx_http_limit_req module and ngx_realip_module via Akamai would send True-Client-IP headers. According to the document ngx_http_readip_module( http://nginx.org/en/docs/http/ngx_http_realip_module.html), we can write set_real_ip_from and real-_ip_header

Re: Using proxy_cache_background_update

2017-02-27 Thread Maxim Dounin
Hello! On Mon, Feb 27, 2017 at 05:53:30AM -0500, jeanpaul wrote: > I verified the patch and it seems to work! > Thanks for your prompt solution on this. Committed, thanks for testing. http://hg.nginx.org/nginx/rev/8b7fd958c59f -- Maxim Dounin http://nginx.org/ _

Re: Nginx with a ICAP-like front-end

2017-02-27 Thread Rajeev J Sebastian
Adler, maybe you should try X-Accel-Redirect to avoid this conversion of POST to GET? On Mon, Feb 27, 2017 at 10:41 PM, Rajeev J Sebastian < rajeev.sebast...@gmail.com> wrote: > From the docs it seems that this will work for all requests EXCEPT that, > the @success fallback request will always be

Re: Nginx with a ICAP-like front-end

2017-02-27 Thread Rajeev J Sebastian
>From the docs it seems that this will work for all requests EXCEPT that, the @success fallback request will always be GET. On Mon, Feb 27, 2017 at 10:30 PM, Alder Netw wrote: > Thanks Rajeev for the recipe, I was looking into using subrequest but > found subrequest > only works for filter modul

Re: Nginx with a ICAP-like front-end

2017-02-27 Thread Alder Netw
Thanks Rajeev for the recipe, I was looking into using subrequest but found subrequest only works for filter module. This looks much simpler! The only concern is error_page is only for GET/HEAD not for POST? On Sun, Feb 26, 2017 at 11:48 PM, Rajeev J Sebastian < rajeev.sebast...@gmail.com> wrote

Re: One NGINX server to 2 backend servers

2017-02-27 Thread Rajeev J Sebastian
I may be wrong, but where is your proxy_pass statement? On Fri, Feb 24, 2017 at 4:47 PM, p0lak wrote: > Hello everybody, > > I have installed a dedicated server for NGINX based on Ubuntu Core > > I want to define this behavior > > NGINX Server (Public IP) >>> listening on port 80 >>> redirect to

Re: One NGINX server to 2 backend servers

2017-02-27 Thread Pratyush Kumar
Seems like there was some problem with my previous replyOn 26-Feb-2017 11:26, Pratyush Kumar wrote:Do you have two servers or three servers ?Can you also mention the server for whuch you have shared the config.What I  understand is that you have one server facing internet, recieving requests and f

Re: One NGINX server to 2 backend servers

2017-02-27 Thread p0lak
There is nothing in your reply Pratyush :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272606,272643#msg-272643 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx stopping abruptly at fix time (2:00 am) repeatedly on Cent OS 7.2

2017-02-27 Thread Anoop Alias
What does the error log say when it is stopping? On Mon, Feb 27, 2017 at 11:58 AM, omkar_jadhav_20 < nginx-fo...@forum.nginx.org> wrote: > Hi , > > Please note that we are using nginx v 1.10.2 and on one of our webserver > (centos 7.2) we are observing below error and sudden stopping of nginx >

Re: nginx stopping abruptly at fix time (2:00 am) repeatedly on Cent OS 7.2

2017-02-27 Thread B.R. via nginx
You did not provide any server block configuration. The configuration snippet you provided is incomplete. Old tickets suggest a link to SPDY, then HTTP/2 options: https://trac.nginx.org/nginx/ticket/626. You might want to reproduce the problem on a configuration as minimalist as possible, using th

Re: Using proxy_cache_background_update

2017-02-27 Thread jeanpaul
Hi Maxim, I verified the patch and it seems to work! Thanks for your prompt solution on this. JP Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272622,272638#msg-272638 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma