Updated and polished nginx formula