fixed copyparty ip orign headers.
This commit is contained in:
		
							parent
							
								
									b9fb31d1d6
								
							
						
					
					
						commit
						cb026ff883
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -45,6 +45,8 @@ in {
 | 
			
		|||
      ah-alg = "argon2";
 | 
			
		||||
      ah-salt = "ImSaltyAboutNonPersistentSalts";
 | 
			
		||||
      hist = "/var/lib/copyparty";
 | 
			
		||||
      xff-hdr = "X-Forwarded-For";
 | 
			
		||||
      rproxy = 1;
 | 
			
		||||
    };
 | 
			
		||||
    accounts = lib.mkIf (inputs ? nix-secrets) (
 | 
			
		||||
      builtins.mapAttrs (name: value: {passwordFile = "${inputs.nix-secrets}/copyparty/${name}";})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue