Yes that is in proxy_pass. Are you sure proxy_pass is defined in the server stanza and that it's inside an include stanza?
Posting the code would be helpful if you can redact the sensitive information. On Tue, Jul 5, 2016 at 9:41 AM, Brian Pugh <[email protected]> wrote: > Are you referring to the proxy pass declaration? If so I get an error when > I uncomment that line out saying "nginx: [emerg] "proxy_pass" directive is > not allowed here in /etc/nginx/conf.d/default.conf:40" > > > > > ------------------------------ > *From:* nginx <[email protected]> on behalf of Drew Turner < > [email protected]> > *Sent:* Tuesday, July 5, 2016 9:33 AM > *To:* [email protected] > *Subject:* Re: does nginx forward requests to backend servers using http > or https? > > You define what you want it sent to the backend as. So if you use > http://backendserver it's http, if https://backendserver:443 - https. > > On Tue, Jul 5, 2016 at 9:26 AM, Brian Pugh <[email protected]> wrote: > >> I am using the free version of nginx on RHEL 6.7. The version is : >> >> >> nginx-1.10.1-1.el6.ngx.x86_64 >> >> >> When using nginx as a load balancer I would like to know if nginx >> forwards requests to backend servers using http or https? >> >> >> >> >> >> >> >> _______________________________________________ >> nginx mailing list >> [email protected] >> http://mailman.nginx.org/mailman/listinfo/nginx >> > > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
