Browse Source

sync the documentation with the latest change to require a 'header'

keyword for default relay actions.
ok pyr@
OPENBSD_4_1
reyk 17 years ago
parent
commit
754dc71703
2 changed files with 8 additions and 8 deletions
  1. +4
    -4
      src/etc/hoststated.conf
  2. +4
    -4
      src/etc/relayd.conf

+ 4
- 4
src/etc/hoststated.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: hoststated.conf,v 1.4 2007/02/26 13:58:31 reyk Exp $
# $OpenBSD: hoststated.conf,v 1.5 2007/02/26 19:25:25 reyk Exp $
#
# Macros
#
@ -46,9 +46,9 @@ service www {
#
protocol httpssl {
protocol http
append "$REMOTE_ADDR" to "X-Forwarded-For"
append "$SERVER_ADDR:$SERVER_PORT" to "X-Forwarded-By"
change "Connection" to "close"
header append "$REMOTE_ADDR" to "X-Forwarded-For"
header append "$SERVER_ADDR:$SERVER_PORT" to "X-Forwarded-By"
header change "Connection" to "close"
# Various TCP performance options
tcp { nodelay, sack, socket buffer 65536, backlog 128 }


+ 4
- 4
src/etc/relayd.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: relayd.conf,v 1.4 2007/02/26 13:58:31 reyk Exp $
# $OpenBSD: relayd.conf,v 1.5 2007/02/26 19:25:25 reyk Exp $
#
# Macros
#
@ -46,9 +46,9 @@ service www {
#
protocol httpssl {
protocol http
append "$REMOTE_ADDR" to "X-Forwarded-For"
append "$SERVER_ADDR:$SERVER_PORT" to "X-Forwarded-By"
change "Connection" to "close"
header append "$REMOTE_ADDR" to "X-Forwarded-For"
header append "$SERVER_ADDR:$SERVER_PORT" to "X-Forwarded-By"
header change "Connection" to "close"
# Various TCP performance options
tcp { nodelay, sack, socket buffer 65536, backlog 128 }


Loading…
Cancel
Save