NGINX with proxy_pass behind AWS ALB, creating http://example.com:443 urls from https links - “The plain HTTP request was sent to HTTPS port”
Solution 1:
Okay this worked for me:
I added port_in_redirect off;
to the second server block.
Proxy pass with the additional :433 port didnt seem to have an impact. The issue appears to be related to this: https://serverfault.com/a/905740/201084