Skip to content

Commit 0020872

Browse files
committed
fix(nginx): restart nginx on instance uninstall
no issue - makes it so nginx picks up the fact that the instance has been removed
1 parent 0803a3b commit 0020872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/nginx/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class NginxExtension extends cli.Extension {
264264
);
265265
}
266266

267-
return Promise.all(promises);
267+
return Promise.all(promises).then(() => this.restartNginx());
268268
}
269269

270270
_cron(fn) {

0 commit comments

Comments
 (0)