Cannot able to see style of ghost

I bought ghost droplet from digital ocean. and I have nextjs application on Join Tero. I have hosted ghost on one of its sub directory /blog. The problem is that on website css is not getting applied. I don’t know whats going on here since I am beginner.
Any anything would be helpful.

While you’re serving Ghost from /blog, it looks like assets are still being served from the root path.

For example, JS for Ghost cards is being served from:

But it’s actually located here:

I think you need to update your NextJS config to recognize the correct path for these assets.

1 Like

Thank you so much. it works I dont know it was nextjs or nginx but in next.js.config i reroute the request from /public to /blog/public and it worked like charm

1 Like