I am trying setup SSL for my application developed with Angular, Spring Boot , PostgreSQL and are all running same vps server (Ubuntu). Before ssl setup, it is working fine with http. Taken free SSL from cloudflare. I am getting error: "Bad Request\r\nThis combination of host and port requires TLS.\r\n" status: 400 Could you please give me detailed steps for this to setup. I tried with nginx configuration where redirected /api/ to localhost:8443 and redirected frontend / to location root /var/www//; domain page is coming up, but rest calls giving error as "Bad Request\r\n This combination of host and port requires TLS.\r\n" status: 400 I am expecting any worked details setups for this type of SSL setup. Or Any any suggestions for easy setup? Continue reading...