Having problem getting my origin Server to run using SSL
Uh so im exteremly new to this type of stuff and im trying to get SSL on my domain and get it to work on my vps (oracle cloud). I setup everything as documented in cloudflare documentations (adding the pem and key files and configuring nginx file for ssl) but now i keep getting Error code 502
Im trying to run Pterodactyl panel in my web server and heres the conf file for nginx.
5 Replies
_removed the servername on purpose
the cert.pem and private.key is what i got from cloudflare origin certificate creation tab
@xiSharkL did you had this working? i got the same problem stuck for it for a few days
got it working somehow this works. without a port. im now on https of the site not http howw lol but this gives me https
because it's a proxy.
think of it as port forwarding. proxy receives a request from somewhere, analyzes it, and reroutes it accoridng to certain rules
it also allows the proxy to receive a request over https, and then forward it over http