diff --git a/charts/wger/templates/_helpers.tpl b/charts/wger/templates/_helpers.tpl index 32a84d9..c3f2112 100644 --- a/charts/wger/templates/_helpers.tpl +++ b/charts/wger/templates/_helpers.tpl @@ -82,7 +82,7 @@ environment: value: {{ int .Values.app.axes.ipwareProxyCount | default "0" | quote }} # @todo bad default, use the default from axes REMOTE_ADDR only - name: AXES_IPWARE_META_PRECEDENCE_ORDER - value: {{ .Values.app.axes.ipwareMetaPrecedenceOrder | default "X_FORWARDED_FOR,REMOTE_ADDR" | quote }} + value: {{ .Values.app.axes.ipwareMetaPrecedenceOrder | default "HTTP_X_FORWARDED_FOR,REMOTE_ADDR" | quote }} - name: AXES_HANDLER value: "axes.handlers.cache.AxesCacheHandler" # jwt auth diff --git a/charts/wger/values.yaml b/charts/wger/values.yaml index 4f002a2..8ad274c 100644 --- a/charts/wger/values.yaml +++ b/charts/wger/values.yaml @@ -74,7 +74,7 @@ app: # number of reverse proxies involved ipwareProxyCount: 0 # order of magnitude from last proxy for the real ip - ipwareMetaPrecedenceOrder: "X_FORWARDED_FOR,REMOTE_ADDR" + ipwareMetaPrecedenceOrder: "HTTP_X_FORWARDED_FOR,REMOTE_ADDR" # # celery synchronisation