diff --git a/charts/netbird-proxy/templates/deployment.yaml b/charts/netbird-proxy/templates/deployment.yaml index 4a98e05..b293cd9 100644 --- a/charts/netbird-proxy/templates/deployment.yaml +++ b/charts/netbird-proxy/templates/deployment.yaml @@ -95,9 +95,9 @@ spec: - name: NB_PROXY_DEBUG_LOGS value: "true" {{- end }} - {{- if .Values.proxy.url }} - - name: NB_PROXY_URL - value: {{ .Values.proxy.url | quote }} + {{- if .Values.proxy.domain }} + - name: NB_PROXY_DOMAIN + value: {{ .Values.proxy.domain | quote }} {{- end }} {{- if and .Values.proxy.forwardedProto (ne .Values.proxy.forwardedProto "auto") }} - name: NB_PROXY_FORWARDED_PROTO diff --git a/charts/netbird-proxy/values.yaml b/charts/netbird-proxy/values.yaml index ec1d31f..63b7b69 100644 --- a/charts/netbird-proxy/values.yaml +++ b/charts/netbird-proxy/values.yaml @@ -25,9 +25,9 @@ allowInsecure: false proxy: # -- Listen address for the HTTPS reverse proxy. address: ":8443" - # -- Public URL of the proxy (used for ACME and client access). + # -- Public domain of the proxy (e.g., netbird.example.com). # Leave empty to auto-derive from the proxy address. - url: "" + domain: "" # -- X-Forwarded-Proto behaviour: auto, http, or https. forwardedProto: "auto" # -- Comma-separated CIDR ranges of trusted upstream proxies.