mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 11:55:38 +08:00 
			
		
		
		
	Update nginx.conf
This commit is contained in:
		@@ -4,7 +4,7 @@ worker_rlimit_nofile 65535;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
error_log logs/error.log warn;
 | 
					error_log logs/error.log warn;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pid logs/nginx.pid;;
 | 
					pid logs/nginx.pid;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
events {
 | 
					events {
 | 
				
			||||||
    worker_connections 1024;
 | 
					    worker_connections 1024;
 | 
				
			||||||
@@ -17,7 +17,7 @@ http {
 | 
				
			|||||||
    include mime.types;
 | 
					    include mime.types;
 | 
				
			||||||
    default_type application/octet-stream;
 | 
					    default_type application/octet-stream;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    index    index.html index.htm
 | 
					    index    index.html index.htm;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    proxy_set_header X-Real-IP       $proxy_protocol_addr;
 | 
					    proxy_set_header X-Real-IP       $proxy_protocol_addr;
 | 
				
			||||||
    proxy_set_header X-Forwarded-For $proxy_protocol_addr;
 | 
					    proxy_set_header X-Forwarded-For $proxy_protocol_addr;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user