Mastering Nginx

(Ron) #1

Directive Reference


[ 242 ]

Directive Explanation Context/Default
pop3_capabilities Indicates which POP3 capabilities
are supported by the backend
server.

Valid contexts: mail,
server
Default value: TOP
USER UIDL
port_in_redirect Determines whether or not
the port will be specified in a
redirect method issued by
NGINX.

Valid contexts: http,
server, location
Default value: on

postpone_output Specifies the minimum size of data
for NGINX to send to the client. If
possible, no data will be sent until
this value is reached.

Valid contexts: http,
server, location
Default value: 1460

protocol Indicates which protocol is
supported by this mail server
context. It may be one of imap,
pop3, or smtp.

Valid context: server
Default value: -

proxy Enables or disables mail proxying. Valid context: server

Default value: -
proxy_bind Specifies which address should be
used for outgoing connections to a
proxied server.

Valid contexts: http,
server, location
Default value: -
proxy_buffer Allows setting the size of the
buffer used for the mail proxy
connection beyond the default of
one page.

Valid contexts: mail,
server
Default value: 4k|8k
(platform dependent)
proxy_buffer_size The size of the buffer used for
the first part of the response from
the upstream server, in which the
response headers are found.

Valid contexts: http,
server, location
Default value: 4k|8k
(platform dependent)
proxy_buffering Activates buffering of proxied
content; when switched off,
responses are sent synchronously
to the client as soon as they are
received.

Valid contexts: http,
server, location
Default value: on
Free download pdf