fixed nginx config generation