1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-28 15:27:03 +00:00

add 'HostProxyHeaders' Configuration field

Former-commit-id: 067360d8db638d6f268d154b50fd872c465eaf1a
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-11 18:52:35 +03:00
parent 12e61f4456
commit 78a45163e3
6 changed files with 98 additions and 12 deletions

View File

@@ -4,5 +4,13 @@ FireMethodNotAllowed: true
DisableBodyConsumptionOnUnmarshal: true
TimeFormat: Mon, 01 Jan 2006 15:04:05 GMT
Charset: UTF-8
SSLProxyHeaders:
X-Forwarded-Proto: https
HostProxyHeaders:
X-Host: true
RemoteAddrHeaders:
X-Real-Ip: true
X-Forwarded-For: true
CF-Connecting-IP: true
Other:
Addr: :8080
Addr: :8080