How to Restrict Access by Country in Ghost Website Builder?

Hi everyone,

I’m using Ghost as my website builder and need to restrict access so that only users from a specific country can view the site, while blocking access from other countries.

Has anyone implemented country-based access restrictions in Ghost? I’d love to hear how you approached this or any tools/plugins you used to make it work.

Thanks!

Best,
Luis Parth

I think you’re going to need a reverse proxy out in front of Ghost to make that work. Perhaps a cloudflare worker?

Cloudflare WAF allows custom IP access rules.

1 Like

Thanks, Cloudflare worked

1 Like