added X-Forwarded-Proto
This commit is contained in:
parent
53d6fdcf95
commit
4f01d3a139
|
@ -2,5 +2,5 @@
|
||||||
trap 'echo oh, I am slain; exit' INT
|
trap 'echo oh, I am slain; exit' INT
|
||||||
while true; do
|
while true; do
|
||||||
#varnishncsa -F '%{X-Forwarded-For}i %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"' | logforward -h backup01.scn.chefkoch.net:22 -p /srv/logfiles_seo/webxx- -u root -k /etc/varnish/id_rsa_lf -b 100000000
|
#varnishncsa -F '%{X-Forwarded-For}i %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"' | logforward -h backup01.scn.chefkoch.net:22 -p /srv/logfiles_seo/webxx- -u root -k /etc/varnish/id_rsa_lf -b 100000000
|
||||||
varnishncsa -F '%{X-Forwarded-For}i %h %l %u %t "%r" %s %b %{Content-Type}o "%{Referer}i" "%{User-agent}i"' | logforward -h $1 -p $2 -u $3 -k $4 -b 100000000
|
varnishncsa -F '%{X-Forwarded-Proto} %{X-Forwarded-For}i %h %l %u %t "%r" %s %b %{Content-Type}o "%{Referer}i" "%{User-Agent}i"' | logforward -h $1 -p $2 -u $3 -k $4 -b 100000000
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue