Re: limit_req per subnet?

2016-12-13 Thread c0nw0nk
I am curious what is the request uri they was hitting. Was it a dynamic page or file or a static one. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271483,271494#msg-271494 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

setting up a forward proxy for a few specific website only, and block the rest

2016-12-13 Thread toffs.hl
hi All, Newbie to nginx, and been trying to search high and low for this particular way of configuration. Here is what I plan to do 1) Setup a nginx forward proxy, and this particular proxy server will only accept the proxy connection based on destination website, for example, I want to set

Re: limit_req per subnet?

2016-12-13 Thread lists
That attack wasn't very distributed. ;-) Did you see if the IPs were from an ISP? If not, I'd ban the service using the Hurricane Electric BGP as a guide.  At a minimum, you should be blocking the major cloud services, especially OVH. They offer free trial accounts, so of course the hackers abu

limit_req per subnet?

2016-12-13 Thread Grant
I recently suffered DoS from a series of 10 sequential IP addresses. limit_req would have dealt with the problem if a single IP address had been used. Can it be made to work in a situation like this where a series of sequential IP addresses are in play? Maybe per subnet? - Grant

Re: Host public folder in nginx

2016-12-13 Thread Francis Daly
On Tue, Dec 13, 2016 at 01:18:02PM +0500, Syed Hamid Rasool via nginx wrote: Hi there, > The config files are in /usr/local/nginx/conf while landing and stream > pages are in '/usr/local/nginx/html' and '/usr/local/nginx/html/stream' and > can be accessed via http:// and http:///stream > respecti

Re: How do I rewrite files, but only, if they are in one special folder?

2016-12-13 Thread Joergi
Hi Francis, thanks for your answer! > You don't say what you want to happen to those other files, so I will > leave it at "nothing special". Yes, that is right. Files in other folders, also if the names of the files end on php5, should not be rewritten. > That is: no-slash, or /wiki/ then no-sl

HTTP 403 when using proxy_pass with upstream server block

2016-12-13 Thread Francis Norton
When I reverse proxy to a public echo service, I can make this work using the server name directly, but I get an HTTP 403 if I use an upstream server block pointing to the same domain. Simple Scenario: ``` location / { proxy_pass http://rve.org.uk/utils/echo-nocache.cgi/freg/; } ``` Upstream scen

HTTP 403 when using proxy_pass with upstream server block

2016-12-13 Thread Francis Norton
When I reverse proxy to a public echo service, I can make this work using the server name directly, but I get an HTTP 403 if I use an upstream server block pointing to the same domain. Simple Scenario: ``` location / { proxy_pass http://rve.org.uk/utils/echo-nocache.cgi/freg/; } ``` Upstream scen

Re: [nginx-announce] nginx-1.11.7

2016-12-13 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.11.7 for Windows https://kevinworthington.com/nginxwin1117 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announce

nginx-1.11.7

2016-12-13 Thread Maxim Dounin
Changes with nginx 1.11.713 Dec 2016 *) Change: now in case of a client certificate verification error the $ssl_client_verify variable contains a string with the failure reason, for example, "FAILED:certificate has expired". *) Feature

Erro 404 Nginx rewrite

2016-12-13 Thread alfaromeo145
Hello guys, I have a PS store 1.6.1.2, with Nginx 0.9.8 and php-fpm. It is running almost 100%, just missing the Boleto and Transfer are. When I finish the payment a 404 error is generated. By my tests when I disable the rewrite it works perfectly. Anyone know or could help me what parameters nee

Host public folder in nginx

2016-12-13 Thread Syed Hamid Rasool via nginx
Hi, I am using a pre-configured webserver that comes with NGINX-RTMP module (I was having build issues even after installing all required dependencies so I had to download a VM). The config files are in /usr/local/nginx/conf while landing and stream pages are in '/usr/local/nginx/html' and '/usr/