| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -28,6 +28,7 @@ type Scheme string | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					const ( | 
					 | 
					 | 
					 | 
					const ( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						HTTP  Scheme = "http" | 
					 | 
					 | 
					 | 
						HTTP  Scheme = "http" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						HTTPS Scheme = "https" | 
					 | 
					 | 
					 | 
						HTTPS Scheme = "https" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						FCGI  Scheme = "fcgi" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					) | 
					 | 
					 | 
					 | 
					) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					var ( | 
					 | 
					 | 
					 | 
					var ( | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -181,6 +182,9 @@ func NewConfigContext() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							CertFile = Cfg.MustValue("server", "CERT_FILE") | 
					 | 
					 | 
					 | 
							CertFile = Cfg.MustValue("server", "CERT_FILE") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							KeyFile = Cfg.MustValue("server", "KEY_FILE") | 
					 | 
					 | 
					 | 
							KeyFile = Cfg.MustValue("server", "KEY_FILE") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						} | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						if Cfg.MustValue("server", "PROTOCOL") == "fcgi" { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
							Protocol = FCGI | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						Domain = Cfg.MustValue("server", "DOMAIN", "localhost") | 
					 | 
					 | 
					 | 
						Domain = Cfg.MustValue("server", "DOMAIN", "localhost") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						HttpAddr = Cfg.MustValue("server", "HTTP_ADDR", "0.0.0.0") | 
					 | 
					 | 
					 | 
						HttpAddr = Cfg.MustValue("server", "HTTP_ADDR", "0.0.0.0") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						HttpPort = Cfg.MustValue("server", "HTTP_PORT", "3000") | 
					 | 
					 | 
					 | 
						HttpPort = Cfg.MustValue("server", "HTTP_PORT", "3000") | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |