Using Netlify and Ghost for /blog url

I want to use a ghost blog where my original domain example.com is hosted on Netlify and blog should be hosted on example.com/blog

I tried multiple methods,

  1. redirect /blog* https://blog.example.com/:splat 200 in _redirects file.
  • The CSS was not working correctly for the blog
  • The blog links did not work correctly, since the blog is set to https://blog.example.com not https://blog.example.com/blog. All links would work as https://example.com/my-new-blog where as it should be https://example.com/blog/my-new-blog.
  1. redirect /blog* https://MY_BLOG_IP/blog/:splat 200 in _redirects file where MY_BLOG_IP/blog hosts the blog.

Since this was a redirect from example.com/blog, in Nginx I couldn’t figure out a way to avoid example.com/blog redirecting to https://MY_BLOG_IP/blog.

Let me know if there are any solutions to make this work.
Thanks