Well, after my last tutorial about getting a LEMP server on Ubuntu 11.10 I’m very happy to announce that the process is now a heck of a lot easier on 14.04! As a matter of fact you don’t need to create your own startup scripts for the services anymore which is nice.
All posts tagged nginx
Sometimes blocking entire swathes of the world is the way to go if you truly want a defense in depth approach on your web apps, for instance do your administrators truly need to log on from every country on Earth? As website administrators we get a feel for where our legitimate traffic is coming from and where we see nefarious connections from.
I’ve written about the very excellent Cloudflare CDN before. It’s a fantastic content delivery network with inbuilt security, I love it. This is another quick howto to get your Nginx web server working properly with Cloudflare.
I will assume you already have a working LEMP server working.
This will be a very quick and easy example. Sometimes you may need to use Nginx as a front end, webcache, load balancer or front end proxy. As a clue in Nginx speak they are all the same thing.
Things like this can come in very useful not only for load balancing but also if you’re navigating IPSec VPNs.
I came across a setup using numerous Varnish front end cache servers with one Nginx backend server. All built on Ubuntu machines. It appeared that Varnish was not forwarding the client IP to the backend server, which meant that the only records in the web server logs was the IP addresses of the Varnish Cache servers.