mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Document HEADSCALE_CONFIG
This commit is contained in:
		
							parent
							
								
									49b3468845
								
							
						
					
					
						commit
						c15aa541bb
					
				@ -5,7 +5,9 @@
 | 
			
		||||
    - `/etc/headscale`
 | 
			
		||||
    - `$HOME/.headscale`
 | 
			
		||||
    - the current working directory
 | 
			
		||||
- Use the command line flag `-c`, `--config` to load the configuration from a different path
 | 
			
		||||
- To load the configuration from a different path, use:
 | 
			
		||||
    - the command line flag `-c`, `--config`
 | 
			
		||||
    - the environment variable `HEADSCALE_CONFIG`
 | 
			
		||||
- Validate the configuration file with: `headscale configtest`
 | 
			
		||||
 | 
			
		||||
!!! example "Get the [example configuration from the GitHub repository](https://github.com/juanfont/headscale/blob/main/config-example.yaml)"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user