You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 18:05:34 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			359 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			359 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package handler
 | |
| 
 | |
| import (
 | |
| 	"net/http"
 | |
| 	h "npm/internal/api/http"
 | |
| 	"npm/internal/config"
 | |
| )
 | |
| 
 | |
| // Config returns the entire configuration, for debug purposes
 | |
| // Route: GET /config
 | |
| func Config() func(http.ResponseWriter, *http.Request) {
 | |
| 	return func(w http.ResponseWriter, r *http.Request) {
 | |
| 		h.ResultResponseJSON(w, r, http.StatusOK, config.Configuration)
 | |
| 	}
 | |
| }
 |