Skip to content

Commit 4f10d12

Browse files
committed
Reload nginx after access list change. Fixes NginxProxyManager#1328
1 parent 62eb3fc commit 4f10d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/access-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ const internalAccessList = {
118118
// Sanity check that something crazy hasn't happened
119119
throw new error.InternalValidationError('Access List could not be updated, IDs do not match: ' + row.id + ' !== ' + data.id);
120120
}
121-
122121
})
123122
.then(() => {
124123
// patch name if specified
@@ -205,6 +204,7 @@ const internalAccessList = {
205204
});
206205
}
207206
})
207+
.then(internalNginx.reload)
208208
.then(() => {
209209
// Add to audit log
210210
return internalAuditLog.add(access, {

0 commit comments

Comments
 (0)