does nginx forward requests to backend servers using http or https?

Brian Pugh bpugh at cscontract.com
Tue Jul 5 14:41:42 UTC 2016


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 <nginx-bounces at nginx.org> on behalf of Drew Turner <drew at drewnturner.com>
Sent: Tuesday, July 5, 2016 9:33 AM
To: nginx at nginx.org
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 <bpugh at cscontract.com<mailto:bpugh at cscontract.com>> 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
nginx at nginx.org<mailto:nginx at nginx.org>
http://mailman.nginx.org/mailman/listinfo/nginx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160705/f339e9cc/attachment.html>


More information about the nginx mailing list