Hello! On Wed, May 17, 2017 at 05:32:55AM +0000, Prabhash Rathore wrote:
> Hi Maxim, > > As per your suggestion to use Proxy server for auth_http directive in mail > to enable keepalive connection, I recompiled my nginx with http and added > following http configuration. > > http { > server { > server_name foo_server; > location / { > proxy_http_version 1.1; > proxy_pass http://hostname:port/auth.php; > } > } > } > > Now in mail directive, I am trying to refer this server from auth_http as > follows but nginx does not recognize foo_server while start up. Could you > please let me know how I can point "auth_http" to a proxy server configured > in nginx config? > > mail { > auth_http foo_server; # my server name from http config > } > > Please let me know if this is not possible with just config chages then we > will try to look at code change options. You may want to ask for help in the nginx@ mailing list. This mailing list if for developers and certainly not appropriate for this kind of questions. You may also want to read nginx documentation as available here: http://nginx.org/en/docs/ Thank you. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel