Real IP recognition over proxy (man, help)
* Manual page and output of --help parameter were updated according to changes in previous commit.
This commit is contained in:
parent
883b7aa7f0
commit
17dd88e804
2 changed files with 10 additions and 3 deletions
|
@ -800,6 +800,7 @@ static void usage(void) {
|
|||
" ${home} - home directory\n"
|
||||
" ${lines} - number of rows\n"
|
||||
" ${peer} - name of remote peer\n"
|
||||
" ${realip} - value of HTTP header field 'X-Real-IP'\n"
|
||||
" ${uid} - user id\n"
|
||||
" ${url} - the URL that serves the terminal session\n"
|
||||
" ${user} - user name\n"
|
||||
|
|
|
@ -449,6 +449,9 @@ number of rows.
|
|||
.B ${peer}
|
||||
name of remote peer.
|
||||
.TP
|
||||
.B ${realip}
|
||||
value of HTTP header field 'X-Real-IP'.
|
||||
.TP
|
||||
.B ${uid}
|
||||
numeric user id.
|
||||
.TP
|
||||
|
@ -458,11 +461,14 @@ the URL that serves the terminal session.
|
|||
.B ${user}
|
||||
user name.
|
||||
.P
|
||||
Other than the default environment variables of
|
||||
Other than the environment variables of
|
||||
.BR $TERM ,
|
||||
.B $COLUMNS
|
||||
.B $COLUMNS,
|
||||
.B $LINES,
|
||||
.B $SHELLINABOX_PEERNAME,
|
||||
.B $SHELLINABOX_REALIP
|
||||
and
|
||||
.BR $LINES ,
|
||||
.BR $SHELLINABOX_URL,
|
||||
services can have environment variables passed to them, by preceding
|
||||
the <cmdline> with space separated variable assignments of the form
|
||||
.IR KEY = VALUE .
|
||||
|
|
Loading…
Reference in a new issue