Proxy#
Configures how Angie connects to the backend and relays the session to it. The
authentication server chooses the backend (see How It Works);
connections to backends do not use TLS. Sets the size of the buffer used for proxying. By default, the buffer size is equal to one memory page. Depending on a platform, it is either 4K or 8K. Determines whether to pass the error message obtained during authentication on the backend to the client. When the authentication server has already checked the password, an error from
the backend means an internal problem, and its message may contain information
that should not be shown to the client; with the directive disabled, the client
gets an internal error instead. Enable the directive when the backend's error
is meant for the client: when the authentication server leaves the password
check to the backend, or with POP3 servers that respond with an error even to a
correct password. In either case, Angie closes the connection after the error. Enables the PROXY protocol for connections to a backend. Enables or disables user authentication on the SMTP backend using the If XCLIENT is also enabled, then the Sets the timeout between two successive read or write operations on client or proxied server connections. If no data is transmitted within this time, the connection is closed. Enables or disables the passing of the XCLIENT command with client parameters when connecting to the SMTP backend. With If If the name found by the client IP address points to the
same address, it is passed in the If Directives#
proxy_buffer#
proxy_pass_error_message#
proxy_protocol#
proxy_smtp_auth#
AUTH command.XCLIENT command will not send the LOGIN parameter.proxy_timeout#
xclient#
XCLIENT, the MTA is able to write client information to the log and
apply various limitations based on this data.XCLIENT is enabled then Angie passes the following commands when
connecting to the backend:EHLO with the server nameXCLIENTEHLO or HELO, as passed by the clientNAME parameter of the XCLIENT
command. If the name could not be found, points to a different address, or
resolver is not specified, then [UNAVAILABLE] is
passed in the NAME parameter. If an error has occurred in the process of
resolving, the [TEMPUNAVAIL] value is used.XCLIENT is disabled, Angie passes the EHLO command with the
server name when connecting to the backend if the client
has passed EHLO, or HELO with the server name, otherwise.