How to configure nginx to listen for plain HTTP but proxy_pass to HTTPS address? In my Nginx config file, this is my preconfigured file content: ``` ... http { ... server { listen 8080 default_server; return 301 https://$host$request_uri; } server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 deby mark_liao - How to...
Hi, Dear friends: I post my problem detail in there: https://stackoverflow.com/questions/63239923/the-nginx-upstream-configuration-do-not-distinguish-domain why can not differentiate the two upstreams? Please take a look at this.by mark_liao - Nginx Mailing List - English