Limiting NGINX reverse proxying to https only

Published: 12/06/2019
Limiting NGINX reverse proxying to https only
Source: SERVERFAULT.COM

I have an NGINX reverse proxy configured to forward to different ports on the same machine based on the request URL. I have service1 on port 8070 and service2 on port 8071. This is my nginx config upstream service1 { server 127.0.0.1:8070; } upstream service2 { server 127.0.0.1:8071; } server { server_name a.example.com; location /foo/ { proxy_pass http://service1; proxy_set_header Host $host; pro

Read more
Related news
Comment
FACEBOOK