| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | { | 
					
						
							|  |  |  | 	servers { | 
					
						
							|  |  |  | 		listener_wrappers { | 
					
						
							| 
									
										
										
										
											2022-02-19 17:36:36 -05:00
										 |  |  | 			http_redirect | 
					
						
							| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | 			tls | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		timeouts { | 
					
						
							|  |  |  | 			read_body 30s | 
					
						
							|  |  |  | 			read_header 30s | 
					
						
							|  |  |  | 			write 30s | 
					
						
							|  |  |  | 			idle 30s | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		max_header_size 100MB | 
					
						
							| 
									
										
										
										
											2023-08-02 16:03:26 -04:00
										 |  |  | 		enable_full_duplex | 
					
						
							| 
									
										
										
										
											2021-12-02 15:26:24 -05:00
										 |  |  | 		log_credentials | 
					
						
							| 
									
										
										
										
											2022-08-15 12:01:58 -06:00
										 |  |  | 		protocols h1 h2 h2c h3 | 
					
						
							| 
									
										
										
										
											2022-09-20 10:09:04 -04:00
										 |  |  | 		strict_sni_host | 
					
						
							| 
									
										
										
										
											2023-02-06 14:44:11 -05:00
										 |  |  | 		trusted_proxies static private_ranges | 
					
						
							| 
									
										
										
										
											2023-03-27 16:22:59 -04:00
										 |  |  | 		client_ip_headers Custom-Real-Client-IP X-Forwarded-For | 
					
						
							|  |  |  | 		client_ip_headers A-Third-One | 
					
						
							| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-19 14:21:11 -07:00
										 |  |  | foo.com { | 
					
						
							| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ---------- | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 	"apps": { | 
					
						
							|  |  |  | 		"http": { | 
					
						
							|  |  |  | 			"servers": { | 
					
						
							|  |  |  | 				"srv0": { | 
					
						
							|  |  |  | 					"listen": [ | 
					
						
							|  |  |  | 						":443" | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"listener_wrappers": [ | 
					
						
							| 
									
										
										
										
											2022-02-19 17:36:36 -05:00
										 |  |  | 						{ | 
					
						
							|  |  |  | 							"wrapper": "http_redirect" | 
					
						
							|  |  |  | 						}, | 
					
						
							| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | 						{ | 
					
						
							|  |  |  | 							"wrapper": "tls" | 
					
						
							|  |  |  | 						} | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"read_timeout": 30000000000, | 
					
						
							|  |  |  | 					"read_header_timeout": 30000000000, | 
					
						
							|  |  |  | 					"write_timeout": 30000000000, | 
					
						
							|  |  |  | 					"idle_timeout": 30000000000, | 
					
						
							|  |  |  | 					"max_header_bytes": 100000000, | 
					
						
							| 
									
										
										
										
											2023-08-02 16:03:26 -04:00
										 |  |  | 					"enable_full_duplex": true, | 
					
						
							| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | 					"routes": [ | 
					
						
							|  |  |  | 						{ | 
					
						
							|  |  |  | 							"match": [ | 
					
						
							|  |  |  | 								{ | 
					
						
							|  |  |  | 									"host": [ | 
					
						
							|  |  |  | 										"foo.com" | 
					
						
							|  |  |  | 									] | 
					
						
							|  |  |  | 								} | 
					
						
							|  |  |  | 							], | 
					
						
							|  |  |  | 							"terminal": true | 
					
						
							|  |  |  | 						} | 
					
						
							|  |  |  | 					], | 
					
						
							|  |  |  | 					"strict_sni_host": true, | 
					
						
							| 
									
										
										
										
											2023-02-06 14:44:11 -05:00
										 |  |  | 					"trusted_proxies": { | 
					
						
							|  |  |  | 						"ranges": [ | 
					
						
							|  |  |  | 							"192.168.0.0/16", | 
					
						
							|  |  |  | 							"172.16.0.0/12", | 
					
						
							|  |  |  | 							"10.0.0.0/8", | 
					
						
							|  |  |  | 							"127.0.0.1/8", | 
					
						
							|  |  |  | 							"fd00::/8", | 
					
						
							|  |  |  | 							"::1" | 
					
						
							|  |  |  | 						], | 
					
						
							|  |  |  | 						"source": "static" | 
					
						
							|  |  |  | 					}, | 
					
						
							| 
									
										
										
										
											2023-03-27 16:22:59 -04:00
										 |  |  | 					"client_ip_headers": [ | 
					
						
							|  |  |  | 						"Custom-Real-Client-IP", | 
					
						
							|  |  |  | 						"X-Forwarded-For", | 
					
						
							|  |  |  | 						"A-Third-One" | 
					
						
							|  |  |  | 					], | 
					
						
							| 
									
										
										
										
											2021-12-02 15:26:24 -05:00
										 |  |  | 					"logs": { | 
					
						
							|  |  |  | 						"should_log_credentials": true | 
					
						
							|  |  |  | 					}, | 
					
						
							| 
									
										
										
										
											2022-08-15 12:01:58 -06:00
										 |  |  | 					"protocols": [ | 
					
						
							|  |  |  | 						"h1", | 
					
						
							|  |  |  | 						"h2", | 
					
						
							|  |  |  | 						"h2c", | 
					
						
							|  |  |  | 						"h3" | 
					
						
							|  |  |  | 					] | 
					
						
							| 
									
										
										
										
											2020-11-23 14:46:50 -05:00
										 |  |  | 				} | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } |