Skip to content

Commit

Permalink
Merge pull request NginxProxyManager#3584 from timob/develop
Browse files Browse the repository at this point in the history
Access-List fix so that nginx config is loaded after configuration happens
  • Loading branch information
jc21 authored Feb 27, 2024
2 parents 209c1b3 + 0503a6a commit 3e1b731
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/internal/access-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ const internalAccessList = {
});
}
})
.then(internalNginx.reload)
.then(() => {
// Add to audit log
return internalAuditLog.add(access, {
Expand All @@ -227,7 +226,7 @@ const internalAccessList = {
if (row.proxy_host_count) {
return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts);
}
})
}).then(internalNginx.reload)
.then(() => {
return internalAccessList.maskItems(row);
});
Expand Down

0 comments on commit 3e1b731

Please sign in to comment.