Tweaking nginx to use less memory