mirror of
				https://github.com/XTLS/Xray-examples.git
				synced 2025-11-04 11:55:34 +08:00 
			
		
		
		
	[gRPC/Nginx] fix: config (#42)
This commit is contained in:
		@@ -5,7 +5,7 @@ Xray client <--- gRPC(TLS) ---> Caddy2 <--- gRPC(cleartext) ---> Xray server
 | 
			
		||||
同时,您也可以选择使用 Nginx。示例配置片段如下(部分来自 [@xqzr](https://github.com/xqzr)):
 | 
			
		||||
```conf
 | 
			
		||||
server {
 | 
			
		||||
	listen 443 ssl http2;
 | 
			
		||||
	listen 443 ssl http2 so_keepalive=on;
 | 
			
		||||
	server_name example.com;
 | 
			
		||||
 | 
			
		||||
	index index.html;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user