proxy access to metrics through nginx
This commit is contained in:
		
					parent
					
						
							
								a68edb81c4
							
						
					
				
			
			
				commit
				
					
						0307ad6c9f
					
				
			
		
					 2 changed files with 7 additions and 3 deletions
				
			
		|  | @ -32,8 +32,8 @@ scrape_configs: | |||
|   honor_timestamps: true | ||||
|   scrape_interval: 5s | ||||
|   scrape_timeout: 1s | ||||
|   metrics_path: / | ||||
|   scheme: http | ||||
|   metrics_path: /metrics | ||||
|   scheme: https | ||||
|   static_configs: | ||||
|   - targets: | ||||
|     - mumble.hamburg.ccc.de:9123 | ||||
|     - mumble.hamburg.ccc.de:443 | ||||
|  |  | |||
|  | @ -21,4 +21,8 @@ server { | |||
|     location / { | ||||
|           return 302 https://wiki.hamburg.ccc.de/infrastructure:services:mumble; | ||||
|     } | ||||
| 
 | ||||
|     location /metrics { | ||||
|         proxy_pass http://127.0.0.1:9123/;         | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue