Nginx Location Block

2015-05-24 Thread Julian De Marchi
heya- I'm having some interesting dramas with Nginx location block. I put it down to a misconfiguration in my conf files, but I can't locate what it possible could be. Briefly, my setup is using an Nginx frontend server to do SSL offloading then pass requests to my backend Nginx servers which the

Re: calling unique url not more then 1 time per 5 seconds

2015-05-24 Thread Styopa Semenukha
On Sunday, May 24, 2015 11:36:47 AM Styopa Semenukha wrote: > On Sunday, May 24, 2015 03:35:45 AM PavelPolyakov wrote: > > Hi, > > > > Assuming I have an url like /payout/[hash] , where hash is something unique, > > and I want to make, that on nginx level it's checked that this url is called > > n

Re: can somebody help me to rewrite this?

2015-05-24 Thread Styopa Semenukha
On Sunday, May 24, 2015 05:50:05 AM escavern wrote: > I need direct url rewrite, not another refference link. Thank you And the mailing list needs requests for advice, not demands to do your job for you. We'll be happy to help if you have questions regarding the documentation, that has been kin

Re: calling unique url not more then 1 time per 5 seconds

2015-05-24 Thread Styopa Semenukha
On Sunday, May 24, 2015 03:35:45 AM PavelPolyakov wrote: > Hi, > > Assuming I have an url like /payout/[hash] , where hash is something unique, > and I want to make, that on nginx level it's checked that this url is called > not more then 1 time per 5 seconds. 1st time it should be processed by >

Re: Override Content-Type header with proxied requests

2015-05-24 Thread Pavel Vasev
Dear Manish! Could you please share the file with mime types that you use to include in a map? manish-ezest wrote in post #1155024: > Hello Wandenberg, > > Thanks for your help. Finally it is working. I included all the mime > types > in a file and included inside map directive and used it in the

Re: can somebody help me to rewrite this?

2015-05-24 Thread escavern
J.J J Wrote: --- > Check this out: > http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite > > On Sun, May 24, 2015 at 3:17 AM, escavern > wrote: > > > Hi guys, i really need some help here. I plan to move my forum from > the > > r

calling unique url not more then 1 time per 5 seconds

2015-05-24 Thread PavelPolyakov
Hi, Assuming I have an url like /payout/[hash] , where hash is something unique, and I want to make, that on nginx level it's checked that this url is called not more then 1 time per 5 seconds. 1st time it should be processed by proxy_pass, all the other times it should be replied 403. Could some