Attached Source

NGINX: Reject Unwanted Traffic

Awhile back, I posted a guide about Migrating from Apache to NGINX and in one of the steps I mistakenly wrote that you should remove the default NGINX config file. At the time, I believed this would block any unwanted traffic to your web server such as web traffic directed at the server's IP address, but I've since learned that NGINX will actually redirect that traffic to the first server block it...