Skip to content

Commit 4fdbc78

Browse files
committed
Update to work properly with k8s envoy setup
1 parent 3cdbf61 commit 4fdbc78

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Caddyfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
# Anonymize ip addresses when forwarding:
1919
header_up X-Forwarded-For "\.\d{0,3}(,\s*|$)" ".0$1"
20+
header_up -X-Envoy-External-Address
2021
}
2122
}
2223

@@ -42,6 +43,7 @@
4243

4344
# Anonymize ip addresses when forwarding:
4445
header_up X-Forwarded-For "\.\d{0,3}(,\s*|$)" ".0$1"
46+
header_up -X-Envoy-External-Address
4547
}
4648
}
4749

deploy/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ spec:
2626
- name: EVENTS_DOMAIN
2727
value: "http://events.httptoolkit.tech"
2828
- name: TRUSTED_PROXIES
29-
value: "172.16.4.0/22"
29+
value: "100.64.0.0/10 172.16.4.0/22 private_ranges"

0 commit comments

Comments
 (0)