proxy_pass_error_message

Syntax: proxy_pass_error_message on | off;
Default: proxy_pass_error_message off;
Context: mail, server

Indicates whether to pass the error message obtained during the authentication on the backend to the client.

Usually, if the authentication in nginx is a success, the backend cannot return an error. If it nevertheless returns an error, it means some internal error has occurred. In such case the backend message can contain information that should not be shown to the client. However, responding with an error for the correct password is a normal behavior for some POP3 servers. For example, CommuniGatePro informs a user about mailbox overflow or other events by periodically outputting the authentication error. The directive should be enabled in this case.

doc_nginx
2017-02-09 07:08:24
Comments
Leave a Comment

Please login to continue.