You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-02 16:53:15 +03:00 
			
		
		
		
	Fix so that nginx config is loaded after configuration happens
M backend/internal/access-list.js
This commit is contained in:
		@@ -204,7 +204,6 @@ const internalAccessList = {
 | 
				
			|||||||
						});
 | 
											});
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			})
 | 
								})
 | 
				
			||||||
			.then(internalNginx.reload)
 | 
					 | 
				
			||||||
			.then(() => {
 | 
								.then(() => {
 | 
				
			||||||
				// Add to audit log
 | 
									// Add to audit log
 | 
				
			||||||
				return internalAuditLog.add(access, {
 | 
									return internalAuditLog.add(access, {
 | 
				
			||||||
@@ -227,7 +226,7 @@ const internalAccessList = {
 | 
				
			|||||||
						if (row.proxy_host_count) {
 | 
											if (row.proxy_host_count) {
 | 
				
			||||||
							return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts);
 | 
												return internalNginx.bulkGenerateConfigs('proxy_host', row.proxy_hosts);
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
					})
 | 
										}).then(internalNginx.reload)
 | 
				
			||||||
					.then(() => {
 | 
										.then(() => {
 | 
				
			||||||
						return internalAccessList.maskItems(row);
 | 
											return internalAccessList.maskItems(row);
 | 
				
			||||||
					});
 | 
										});
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user