change to keycloak 24
This commit is contained in:
		
							parent
							
								
									396e3c81a7
								
							
						
					
					
						commit
						ee82720db0
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,7 @@ in
 | 
			
		|||
      description = "The name (id) of the openId client to use exclusively.";
 | 
			
		||||
    };
 | 
			
		||||
    dbPasswordFile = mkOption {
 | 
			
		||||
      type = types.str;
 | 
			
		||||
      type = types.path;
 | 
			
		||||
      default = "/etc/forgejo_db_pwd";
 | 
			
		||||
      description = "The file containing the database password. Be sure to secure it.";
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,8 +31,6 @@ in
 | 
			
		|||
      http-host = "127.0.0.1";
 | 
			
		||||
      http-port = 8080;
 | 
			
		||||
      https-port = 8443;
 | 
			
		||||
      proxy = "edge"; # TODO: change to reencrypt or passthrough
 | 
			
		||||
      hostname-strict-backchannel = true;
 | 
			
		||||
    };
 | 
			
		||||
    services.keycloak.initialAdminPassword = cfg.initialAdminPassword;
 | 
			
		||||
    services.keycloak.database.passwordFile = cfg.dbPasswordFile;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue