mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Reload nginx after access list change. Fixes #1328
This commit is contained in:
		| @@ -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, { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user