Skip to content

Commit 52ebacc

Browse files
committed
Add some more output variables into print-headers-template
1 parent 607e276 commit 52ebacc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-files/opt/webroot/templates/print-headers-template.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Remote-Host: {{.Req.Host}}
2+
Remote-IP: {{.RemoteIP}}
3+
Client-IP: {{.ClientIP}}
14
X-Forwarded-For: {{.Req.Header.Get "X-Forwarded-For"}}
25
X-Forwarded-Host: {{.Req.Header.Get "X-Forwarded-Host"}}
36
X-Forwarded-Port: {{.Req.Header.Get "X-Forwarded-Port"}}

0 commit comments

Comments
 (0)