mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-17 16:20:22 +00:00
Fix so that nginx config is loaded after configuration happens
M backend/internal/access-list.js
This commit is contained in:
1 parent
209c1b3334
commit
0503a6af75
1 file changed
+1
-2
@@ -204,7 +204,6 @@ const internalAccessList = {
|
||||
});
|
||||
}
|
||||
})
|
||||
.then(internalNginx.reload)
|
||||
.then(() => {
|
||||
// Add to audit log
|
||||
return internalAuditLog.add(access, {
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user