I have created a ghost VPS on DigitalOcean which has nginx running as a reverse proxy fronting ghost installation. While tailing access logs I saw numerous CONNECT commands and GET/POST as well to some websites (some spammy, fake and some legit ones - nandos.co.uk). So my questions are

  1. Is nginx acting on these commands?
  2. If so how can I prevent this?
  3. Are they DOSing people? Inflating traffic? or some other shenanigan?

Note: I don't have the nginx conf since I rebuilt the VPS almost immediately afterwards.


Welcome to the Internet. This is just one small part of malicious traffic that blindly attempts to hit every IPv4 address with a wide variety of attacks.

In this case, they are trying to abuse misconfigured web servers in order to load other web pages through your server, disguising the origin of the traffic, using the HTTP CONNECT method.

This doesn't work at all, because nginx is not designed to be a forward proxy, and does not support the CONNECT method.

You can safely ignore this traffic.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.