nginx formula with some additions