Disable frontend when using Ghost as a headless CMS


#1

I’m looking to use Ghost as a headless CMS for a Gatsby frontend hosted on Netlify.

My question is although it’s very easy to get Gatsby working with Ghost, is there a way to disable Ghost’s frontend entirely? I know about making it “private” with a password, but ideally I’d like for Ghost to serve only as a CMS with no frontend at all.

Is that possible?


#2

Putting the site in private mode is the recommended option, if you want to lock it down further then you could modify your nginx/apache config so that it only serves the /ghost/* endpoints for the admin and API and /content/* for images etc.


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.