Error when deploying ghost under subfolder with react vite

I have deployed my react vite app under domain.com and ghost blog on domain.com/blog

But when I clicked on the button domain.com which should redirect the app to /blog via react route the app does not redirect and use the catched child theme.

I have tried opening the link as target didn’t work.

Tried to configure traefik but probably I have done something wrong and it didn’t work either.

Is there any way that I can implement reverse proxy on nginx on dekploy? Or a way to implement it with traefik ?
Was this page helpful?