auto create nginx tmp folder
This commit is contained in:
parent
7eee1cad50
commit
810db634d3
|
@ -191,6 +191,10 @@ gulp.task('nginx-stop', ['nginx-conf'], async () => {
|
|||
gulp.task('nginx-conf', async () => {
|
||||
const mustache = require('mustache');
|
||||
|
||||
if (!fs.existsSync(nginxTemp)) {
|
||||
fs.mkdirSync(nginxTemp);
|
||||
}
|
||||
|
||||
let params = {
|
||||
services: await getServices(),
|
||||
defaultService: defaultService,
|
||||
|
|
Loading…
Reference in New Issue