| 
									
										
										
										
											2023-08-23 19:29:49 +02:00
										 |  |  | version: 1 | 
					
						
							|  |  |  | log: debug | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | servers: | 
					
						
							| 
									
										
										
										
											2024-02-22 22:31:17 +01:00
										 |  |  |   first_server: | 
					
						
							| 
									
										
										
										
											2023-08-23 19:29:49 +02:00
										 |  |  |     listen: | 
					
						
							|  |  |  |       - "0.0.0.0:8443" | 
					
						
							| 
									
										
										
										
											2024-02-22 22:31:17 +01:00
										 |  |  |       - "[::]:8443" | 
					
						
							| 
									
										
										
										
											2023-08-23 19:29:49 +02:00
										 |  |  |     tls: true # Enable TLS features like SNI filtering | 
					
						
							|  |  |  |     sni: | 
					
						
							|  |  |  |       api.example.org: example-api | 
					
						
							| 
									
										
										
										
											2024-02-22 22:31:17 +01:00
										 |  |  |       www.example.org: proxy | 
					
						
							| 
									
										
										
										
											2023-08-23 19:29:49 +02:00
										 |  |  |     default: ban | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-22 22:31:17 +01:00
										 |  |  |   second-server: | 
					
						
							|  |  |  |     listen: [ "127.0.0.1:8080" ] | 
					
						
							|  |  |  |     default: echo | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-23 19:29:49 +02:00
										 |  |  | upstream: | 
					
						
							|  |  |  |   proxy: "tcp://new-www.example.org:443" # Connect over IPv4 or IPv6 to new-www.example.org:443 | 
					
						
							|  |  |  |   example-api: "tcp6://api-v1.example.com:443" # Connect over IPv6 to api-v1.example.com:443 |