mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	Minor fixes
This commit is contained in:
		@@ -1180,10 +1180,13 @@ const internalCertificate = {
 | 
			
		||||
			} else if (`${result.responsecode}` === '200' && result.htmlresponse === 'Success') {
 | 
			
		||||
				// Server exists and has responded with the correct data
 | 
			
		||||
				return 'ok';
 | 
			
		||||
			} else if (`${result.responsecode}` === '200') {
 | 
			
		||||
				// Server exists and has responded with the correct data
 | 
			
		||||
				return 'wrong-data';
 | 
			
		||||
			} else if (`${result.responsecode}` === '404') {
 | 
			
		||||
				// Server exists but responded with a 404
 | 
			
		||||
				return '404';
 | 
			
		||||
			} else if (`${result.responsecode}` === '0' || result.reason.toLowerCase() === 'host unavailable') {
 | 
			
		||||
			} else if (`${result.responsecode}` === '0' || (typeof result.reason === 'string' && result.reason.toLowerCase() === 'host unavailable')) {
 | 
			
		||||
				// Server does not exist at domain
 | 
			
		||||
				return 'no-host';
 | 
			
		||||
			} else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user