浏览代码

Reload nginx after access list change. Fixes #1328

Jamie Curnow 4 年之前
父节点
当前提交
4f10d129c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/internal/access-list.js

+ 1 - 1
backend/internal/access-list.js

@@ -118,7 +118,6 @@ const internalAccessList = {
 					// Sanity check that something crazy hasn't happened
 					throw new error.InternalValidationError('Access List could not be updated, IDs do not match: ' + row.id + ' !== ' + data.id);
 				}
-
 			})
 			.then(() => {
 				// patch name if specified
@@ -205,6 +204,7 @@ const internalAccessList = {
 						});
 				}
 			})
+			.then(internalNginx.reload)
 			.then(() => {
 				// Add to audit log
 				return internalAuditLog.add(access, {