Don't automatically redirect HTTP device API to HTTPS.
This commit is contained in:
		
							parent
							
								
									af8c0bbe39
								
							
						
					
					
						commit
						287e1d7a42
					
				@ -35,8 +35,9 @@ frontend http-in
 | 
			
		||||
 | 
			
		||||
 reqadd X-Forwarded-Proto:\ http
 | 
			
		||||
 | 
			
		||||
 acl transport_http_acl path_beg /api/v1/
 | 
			
		||||
 acl letsencrypt_http_acl path_beg /.well-known/acme-challenge/
 | 
			
		||||
 redirect scheme https if !letsencrypt_http_acl
 | 
			
		||||
 redirect scheme https if !letsencrypt_http_acl !transport_http_acl
 | 
			
		||||
 use_backend letsencrypt_http if letsencrypt_http_acl
 | 
			
		||||
 | 
			
		||||
 default_backend tb-web-backend
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user