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

Drew Turner drew at drewnturner.com
Tue Jul 5 14:47:28 UTC 2016


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 <bpugh at cscontract.com> 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 <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> 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
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> 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/f02dafe1/attachment.html>


More information about the nginx mailing list