Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

can nginx work as forward proxy for https traffic ?

$
0
0
Hi Everyone

Good morning.

Is possible nginx use to process forward proxy traffic for HTTPS destination ?
I am having a requirement which is proxy users are point to nginx and proxy user require access to https site .

Proxy user --> nginx --> application server

Based on my testing ,

1.) if proxy users are send request to HTTP destination are no issue ( traffic process success) .

== traffic process failed for HTTP traffic ==
upstream backend {
zone backend 64k;
server 192.168.128.61:443;
}

server {
listen 80;

location / {
proxy_pass https://backend/;
}

2.) But when proxy users are send request to HTTPS destination , request will unable to proceed ( traffic process failed)
== traffic process success for HTTP traffic==
upstream backend {
zone backend 64k;
server 192.168.128.61:80;
}

server {
listen 80;

location / {
proxy_pass http://backend/;
}

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>