Ensure nginx certificates dir is created