mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 20:05:39 +08:00 
			
		
		
		
	use hyphen
This commit is contained in:
		
							
								
								
									
										17
									
								
								VMess-Websocket-TLS/Caddy-Header/Caddyfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								VMess-Websocket-TLS/Caddy-Header/Caddyfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
https://example.domain * {
 | 
			
		||||
 gzip
 | 
			
		||||
 tls kiri_so@outlook.com
 | 
			
		||||
 proxy / https://www.baidu.com
 | 
			
		||||
 log / stdout "{request}"
 | 
			
		||||
 
 | 
			
		||||
 rewrite {
 | 
			
		||||
  if {host} is google.com
 | 
			
		||||
  to /test
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 proxy /test localhost:1234 {
 | 
			
		||||
  websocket
 | 
			
		||||
  without /test
 | 
			
		||||
 } 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user