How to use Ghost with SSL without Nginx

Ghost can be used with SSL through Nginx. Basically Ghost runs as plain HTTP server, Nginx runs as HTTPs server with configured SSL and forwards requests to Ghost. Browsers communicate with Nginx.

However, we use a load balancer and don’t really need Nginx as a proxy. But if there’s no Nginx, then Ghost should be configured to run as HTTPs server. Is there any way to do that?

I have a certificate I can link to Ghost. With node applications, we usually pass certificates to createServer of https module, but how to do that with Ghost?

Ghost doesn’t support running an https server; you need to perform SSL termination elsewhere. Based on what you said, your best bet is to probably do so in your load balancer

1 Like

thanks, that’s what I assumed.