Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Allow socket proxy registration without URL
rcourtmandbbedc0c6521
diff --git a/internal/api/temperature_proxy.go b/internal/api/temperature_proxy.goindex da5fb7a1e5..331578af0d 100644--- a/internal/api/temperature_proxy.go+++ b/internal/api/temperature_proxy.go@@ -188,11 +188,6 @@ func (h *TemperatureProxyHandlers) HandleRegister(w http.ResponseWriter, r *httpreturn}- if proxyURL == "" {- writeErrorResponse(w, http.StatusBadRequest, "missing_proxy_url", "Proxy URL is required", nil)- return- }-mode := strings.ToLower(strings.TrimSpace(req.Mode))if mode == "" {if proxyURL != "" {@@ -203,11 +198,16 @@ func (h *TemperatureProxyHandlers) HandleRegister(w http.ResponseWriter, r *http}isHTTPMode := mode == "http"- if isHTTPMode && !strings.HasPrefix(proxyURL, "https://") {- writeErrorResponse(w, http.StatusBadRequest, "invalid_proxy_url", "Proxy URL must use HTTPS", nil)- return- }- if !isHTTPMode {+ if isHTTPMode {+ if proxyURL == "" {+ writeErrorResponse(w, http.StatusBadRequest, "missing_proxy_url", "Proxy URL is required for HTTP mode", nil)+ return+ }+ if !strings.HasPrefix(strings.ToLower(proxyURL), "https://") {+ writeErrorResponse(w, http.StatusBadRequest, "invalid_proxy_url", "Proxy URL must use HTTPS", nil)+ return+ }+ } else {proxyURL = ""}