make sure nginx dir exists