Re: How to apply concurrent connection limit ?

2015-03-23 Thread Makailol Charls
Hey thanks for quick reply. As I mentioned in previous email, we also need to exclude some IPs from this connection limit so would you provide some example of IP whitelisting? Thanks, On Mon, Mar 23, 2015 at 7:24 PM, Pavel Mihaduk wrote: > http://nginx.org/en/docs/http/ngx_http_limit_conn_mod

Re: disable file uploads

2015-03-23 Thread Steve Holdoway
On Mon, 2015-03-23 at 19:57 -0700, Robert Paprocki wrote: > Sounds like you either have a vulnerable web application or hole in your > systems security. If the root of your problem is that your having content > uploaded to your server without your consent, you're asking the wrong > question. >

Re: disable file uploads

2015-03-23 Thread Robert Paprocki
Sounds like you either have a vulnerable web application or hole in your systems security. If the root of your problem is that your having content uploaded to your server without your consent, you're asking the wrong question. If your app does allow for arbitrary file upload, you can disallow c

Re: disable file uploads

2015-03-23 Thread Steve Holdoway
On Tue, 2015-03-24 at 00:00 +, Francis Daly wrote: > On Tue, Mar 24, 2015 at 12:47:38PM +1300, Steve Holdoway wrote: > > On Mon, 2015-03-23 at 22:52 +, Francis Daly wrote: > > > On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote: > > Hi there, > > > > > Is there any way to sto

Re: what does fastcgi_keep_conn do?

2015-03-23 Thread nginxuser100
Thank you, that did the trick. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257508,257619#msg-257619 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

end-to-end disconnect notification?

2015-03-23 Thread nginxuser100
Hi, given client --(tcp)-->nginx --(fcgi)-->fcgi server --(tcp)--> back-end server if the client initiates a TCP disconnect, is there a way for NGINX to carry out the termination to the fcgi server? Or if the back-end server disconnects, how can the fcgi server communicate the disconnect all the w

Re: disable file uploads

2015-03-23 Thread Francis Daly
On Tue, Mar 24, 2015 at 12:47:38PM +1300, Steve Holdoway wrote: > On Mon, 2015-03-23 at 22:52 +, Francis Daly wrote: > > On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote: Hi there, > > > Is there any way to stop / disable random file uploads... for example, > > > I'm having 'fun

Re: disable file uploads

2015-03-23 Thread Steve Holdoway
On Mon, 2015-03-23 at 22:52 +, Francis Daly wrote: > On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote: > > Hi there, > > > Is there any way to stop / disable random file uploads... for example, > > I'm having 'fun' with mail relays being uploaded to the cache area of a > > wordp

Re: Rewrite undecoded URL

2015-03-23 Thread Francis Daly
On Thu, Mar 19, 2015 at 11:52:41AM -0400, youngde811 wrote: Hi there, > Hello. We are trying to use the nginx rewrite rule, without the application > of URL decoding. The relevant portion of our test configuration is: I'm afraid that I am not sure what response you want nginx to give to your inc

Re: $skip_cache define home page

2015-03-23 Thread Francis Daly
On Sun, Mar 22, 2015 at 06:35:31AM -0400, carnagel wrote: Hi there, > I understand how to skip cache on cookies, POST, query strings, urls > containing string etc How do you skip cache on urls containing strings? > But how do you define the home page itself in $skip_cache please? What url or u

Re: disable file uploads

2015-03-23 Thread Francis Daly
On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote: Hi there, > Is there any way to stop / disable random file uploads... for example, > I'm having 'fun' with mail relays being uploaded to the cache area of a > wordpress site? What the difference between a request that is a file uplo

disable file uploads

2015-03-23 Thread Steve Holdoway
Is there any way to stop / disable random file uploads... for example, I'm having 'fun' with mail relays being uploaded to the cache area of a wordpress site? Can't think of anything off the top of my head that would do it. Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.

Internal Server Error !!

2015-03-23 Thread shahzaib shahzaib
Hi, Nginx logging mp4 related error intermittently. Following is the log : 2015/03/23 19:01:53 [crit] 8671#0: *782950 pread() "/tunefiles/storage17/files/videos/2014/05/07/13994800482e2b0-360.mp4" failed (22: Invalid argument), client: 182.178.204.162, server: storage17.domain.com, request: "

Re: How to apply concurrent connection limit ?

2015-03-23 Thread Pavel Mihaduk
http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html Hello, We have been providing API to our customers and want to apply concurrent connection limit for API calls. Would anybody let us know which module should be used with configuration example? We also need to exclude (whitelis

How to apply concurrent connection limit ?

2015-03-23 Thread Makailol Charls
Hello, We have been providing API to our customers and want to apply concurrent connection limit for API calls. Would anybody let us know which module should be used with configuration example? We also need to exclude (whitelist) some IPs from this connection limit and need to allow more connecti

Re: ProxyPass to target need to pass another proxy

2015-03-23 Thread Francis Daly
On Mon, Mar 23, 2015 at 09:09:07AM -0400, elronar wrote: Hi there, > I need to configure an nginx via proxypass. The target of the proxy itself > is behind a proxy. nginx as a client speaks http to a http server. It does not speak http-being-proxied to a http proxy server. > Anyone another id

ProxyPass to target need to pass another proxy

2015-03-23 Thread elronar
Hey guys, I have the following plan. I need to configure an nginx via proxypass. The target of the proxy itself is behind a proxy. My config looks like this: upstream @squid { server XXX.YYY.FFF.EEE:3128; } server { listen 80; server_name install.peng.puff.de;

Re: I need some urgent rewrites

2015-03-23 Thread Aleksandar Lazic
Dear Milos. Am 22-03-2015 15:26, schrieb Milos: WOW, thanks Aleksandar. that works for my. [snipp] My attempts have all failed. What was your attempts and how does they failed? Have you also take a look into this link and the other links in my first answer? http://nginx.org/en/docs/htt