mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 09:25:15 +00:00 
			
		
		
		
	Merge pull request #903 from ogarai/edit-disabled-host
Prevent activating nginx config after editing disabled proxy host
This commit is contained in:
		@@ -189,6 +189,10 @@ const internalProxyHost = {
 | 
			
		||||
					expand: ['owner', 'certificate', 'access_list.[clients,items]']
 | 
			
		||||
				})
 | 
			
		||||
					.then((row) => {
 | 
			
		||||
						if (!row.enabled) {
 | 
			
		||||
							// No need to add nginx config if host is disabled
 | 
			
		||||
							return row;
 | 
			
		||||
						}
 | 
			
		||||
						// Configure nginx
 | 
			
		||||
						return internalNginx.configure(proxyHostModel, 'proxy_host', row)
 | 
			
		||||
							.then((new_meta) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user