Skip to content

Commit

Permalink
use correct django http header name
Browse files Browse the repository at this point in the history
  • Loading branch information
bbkz committed Dec 17, 2023
1 parent f98b219 commit 6b230f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/wger/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/wger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b230f7

Please sign in to comment.