🐛 Fix couldn't get ip behind reverse proxy
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				release-nightly / build-docker (push) Successful in 2m34s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	release-nightly / build-docker (push) Successful in 2m34s
				
			This commit is contained in:
		@@ -24,6 +24,7 @@ func NewServer() {
 | 
			
		||||
		EnableIPValidation:    true,
 | 
			
		||||
		ServerHeader:          "passport",
 | 
			
		||||
		AppName:               "passport",
 | 
			
		||||
		ProxyHeader:           fiber.HeaderXForwardedFor,
 | 
			
		||||
		JSONEncoder:           jsoniter.ConfigCompatibleWithStandardLibrary.Marshal,
 | 
			
		||||
		JSONDecoder:           jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal,
 | 
			
		||||
		EnablePrintRoutes:     viper.GetBool("debug"),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user