I have a website (angular and c#) and I am using AWS Cloud and Cloudflare for this website. I have created and validated SSL files for the Frontend. I am using Nginx. My site is currently secure, but requests to the backend are going over HTTPS, which should be the case, but I haven't set up SSL for the backend and I don't know how to do it. Is there a way to do this? I'm not sure where to add the code or what to do. I have cert.pem and key.pem on my server. Additionally, I am only pushing Docker images to the server and running them because my server is a free version, so I don't have much space or RAM. The error in the console is as follows: POST https://domain_ip:5062/api/Function_name net::ERR_SSL_PROTOCOL_ERROR.
I tried Reverse Proxy but it didn't work.