Make Garage API domain be localhost
This commit is contained in:
		
							parent
							
								
									e6b58b656b
								
							
						
					
					
						commit
						fc18582a1b
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| let | ||||
|   inherit (builtins) toString; | ||||
|   inherit (lib) mkOption mkEnableOption; | ||||
|   inherit (lib) mkOption mkEnableOption mkForce; | ||||
|   inherit (lib.types) types; | ||||
| 
 | ||||
| in { | ||||
|  | @ -109,5 +109,10 @@ in { | |||
|       defaults.email = "nicolas.jeannerod+fediversity@moduscreate.com"; | ||||
|       # defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory"; | ||||
|     }; | ||||
| 
 | ||||
|     ## NOTE: For a one-machine deployment, this removes the need to provide an | ||||
|     ## `s3.garage.<domain>` domain. However, this will quickly stop working once | ||||
|     ## we go to multi-machines deployment. | ||||
|     fediversity.internal.garage.api.domain = mkForce "localhost"; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Reference in a new issue