I want to make a redirect HTTP to HTTPS with proxy to my Angular app. The HTTP > HTTPS redirect works, but later this the ssl proxy can't reach the Angular app on localhost:4200. When I set to 80 port only it works. I also tried to put both with the same server names, proxy in the both servers, etc... "server { listen 80; return 301 https://$host$request_uri; } server { lby camimartins - How to...