June 2013 Archives

Serve Content From Memory With Nginx

It's not too well documented, but it's possible to serve content directly from memory:

# No indexing
location = /robots.txt {
  return 200 "User-agent: *\r\nDisallow: /\r\n";
The snippet above serves a deny-all robots.txt 'file' directly from memory.

Also bear in mind that this configuration overrides any file that actually exists on disk.

Everything About Us - Nothing About Them

It is clear now that many governemnts, including the UK & the US, are keen to hold as much information as they can on their citizens whilst disclosing the absolute minimum about themselves.