Update nginx to Ubuntu 14.04 and add increase types_hash_max_size