hello .
i have set up discourse on kubernetes . the setup is fully up and running however my site is still on HTTP and i want to convert it to HTTPS .
need help ASAP
AI-generated summary
The discussion revolves around setting up SSL on Kubernetes for a Discourse setup. Harsh_Pratap_Singh seeks help in converting their site from HTTP to HTTPS, having already generated certificates for their domain. pfaffman points out that the issue is more related to Kubernetes and ingress, suggesting that the question be asked in a more specialized community.
pfaffman also mentions that the solution varies across different platforms (e.g., GKE, bare metal). Falco suggests enabling the force_https setting, but pfaffman notes that this might not be sufficient.
Harsh_Pratap_Singh clarifies that they are using a Load Balancer (LB) service instead of ingress and are unsure where to place the generated certificates within their Discourse setup, which has a different directory structure.
You’re on your own. Kubernetes is not supported here.
This isn’t a discourse problem, it’s a Kubernetes/ingress problem. So you should ask somewhere that there are experts in k8s and ingress.
To get help, you’d need to say where you’re running k8s (or ask somewhere specific to your platform), as the way to enable https ingres is different for different platforms (GKE, whateveramazoncallsit, bare metal and so on).
Did you set the setting force_https to the enabled value?
I hope that’s all it takes! I’m afraid that your suggestion is necessary, but not sufficient. It could definitely save a step after he gets https figured out, though. I’ve been fighting (off and on) for weeks on my bare metal k8s setup to get https ingress working. It’s easy enough on GKE (and presumably AWS as well) if you follow the guides.
hi @pfaffman as of not i’m not using ingress to route . i have created a LB svc and have mapped that LB ip to my domain .
now i have even generated the certificated for my domain . only issue is which directoy should i place the certificated in inside my discourse .
the directory structure is little bit different . though all the files are same