diff options
author | Badlop <badlop@process-one.net> | 2012-02-14 14:35:17 +0400 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2012-02-14 14:35:52 +0400 |
commit | 7d623d5eb4352a7e150f55d9bde938ea9dd6f14b (patch) | |
tree | d84e70ca6f6d4fdf9443d6abd1e69f22183b63c6 /doc | |
parent | 4819738e8f039bf08bfb9867ad279ef8a94b9b5d (diff) |
Option default_host for handling HTTP requests with ambiguous Host (EJAB-1261)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.tex | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/guide.tex b/doc/guide.tex index 9c1590fb3..129151d18 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -826,7 +826,7 @@ The available modules, their purpose and the options allowed by each one are: Options: \texttt{certfile} \titem{\texttt{ejabberd\_http}} Handles incoming HTTP connections.\\ - Options: \texttt{captcha}, \texttt{certfile}, \texttt{http\_bind}, \texttt{http\_poll}, + Options: \texttt{captcha}, \texttt{certfile}, \texttt{default\_host}, \texttt{http\_bind}, \texttt{http\_poll}, \texttt{request\_handlers}, \texttt{tls}, \texttt{trusted\_proxies}, \texttt{web\_admin}\\ \end{description} @@ -847,6 +847,11 @@ This is a detailed description of each option allowed by the listening modules: Simple web page that allows a user to fill a CAPTCHA challenge (see section \ref{captcha}). \titem{\{certfile, Path\}} Full path to a file containing the default SSL certificate. To define a certificate file specific for a given domain, use the global option \term{domain\_certfile}. + \titem{\{default\_host, undefined|HostName\}} + If the HTTP request received by ejabberd contains the HTTP header \term{Host} + with an ambiguous virtual host that doesn't match any one defined in ejabberd (see \ref{hostnames}), + then this configured HostName is set as the request Host. + The default value of this option is: \term{undefined}. \titem{\{hosts, [Hostname, ...], [HostOption, ...]\}} \ind{options!hosts} The external Jabber component that connects to this \term{ejabberd\_service} can serve one or more hostnames. |