Welcome! Log In Create A New Profile

Advanced

Re: some sort of attack?

Francis Daly
March 16, 2013 06:40AM
On Sat, Mar 16, 2013 at 02:34:32AM -0700, Praveen Yarlagadda wrote:

Hi there,

> I installed nginx on an EC2 instance.

> Another weird thing is GET
> requests are starting with *"http://". *I never saw it before. Is there any
> way I can filter requests or possibly throw 503?

These might be innocent requests from browsers configured to use your IP
address as a proxy server. (Maybe there was a proxy server on a previous
instance that used your current address?)

I suggest making your current server{} blocks list all of the
server_name:s that you want to handle, and then let the default
server{} block handle these other requests, with "return 503" or any
other configuration you like.

See http://nginx.org/r/listen and http://nginx.org/r/server_name for how
to configure server names and the default server for a given address:port.

f

--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

some sort of attack?

Praveen Yarlagadda March 16, 2013 05:36AM

Re: some sort of attack?

Jonathan Matthews March 16, 2013 06:08AM

Re: some sort of attack?

Francis Daly March 16, 2013 06:40AM

Re: some sort of attack?

Praveen Yarlagadda March 16, 2013 03:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready