Skip to content

Commit

Permalink
Add some more output variables into print-headers-template
Browse files Browse the repository at this point in the history
  • Loading branch information
git001 committed Mar 4, 2024
1 parent 607e276 commit 52ebacc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-files/opt/webroot/templates/print-headers-template.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Remote-Host: {{.Req.Host}}
Remote-IP: {{.RemoteIP}}
Client-IP: {{.ClientIP}}
X-Forwarded-For: {{.Req.Header.Get "X-Forwarded-For"}}
X-Forwarded-Host: {{.Req.Header.Get "X-Forwarded-Host"}}
X-Forwarded-Port: {{.Req.Header.Get "X-Forwarded-Port"}}
Expand Down

0 comments on commit 52ebacc

Please sign in to comment.