June 2010

12 posts

nginx configs

· linux, software, www

Been slacking a bit lately, but here they are:

  • /etc/nginx/nginx.conf // general nginx config
  • /etc/nginx/sites-available/blog // my current (as of posting this) rproxy settings for this blog
  • /etc/nginx/conf.d/proxy.conf // reverse proxy related config

Stopping iRail.be

· irail, www

As I have no choice.

Geachte,

NMBS heeft onlangs vernomen dat u de uitbater bent van de website www.irail.be.

Uw website is, zoals u het zelf vermeldt, een route planner waarbij alle gegevens en informatie van NMBS website komt (“all data and info is retrieved from the B-Rail website”).

uw website maakt hergebruik van de data van NMBS. Hierdoor schendt u haar intellectuele rechten, zoals haar auteursrecht en databankrecht. Tevens maakt u zich daardoor schuldig aan het strafrechtelijk misdrijf van namaak.

nginx cache in tmpfs

· linux, software, www

Probably won’t change a lot to my performance, but I’ve mounted the nginx reverse proxy cache in a tmpfs mount.

none on /var/cache/nginx/blog type tmpfs (rw,size=512m)
none  512M   47M  466M   4% /var/cache/nginx/blog

Let’s see what performance boosts this will give. :P

Mac OS X + SSD tweaks

· apple, hardware, software

Came across a pretty cool howto to tweak your SSD on a Mac. Only thing I noticed is setting the hibernate mode to 0 made my mac randomly wake up a few seconds after it went to sleep (and happened most often when closing the lid, less often when clicking the sleep button; randomly closing apps seemed to sometimes fix this problem; usually closing Skype and VLC solved this…) Set it the hibernate mode 7 now (which was the default I think)