Running nextjs app on a /docs path
Unanswered
Siamese posted this in #help-forum
SiameseOP
Hey. I'm using coolify so it strips the /docs path so the nextjs docker container thinks it's being accessed at /.
After configuing
I tried using basePath but then to access docs I need to open domain.com/docs/docs
After configuing
assetPrefix
to /docs
, the css started to work but the navigation is still broken since it redirects to domain.com/<page> rather than domain.com/docs/<page>.I tried using basePath but then to access docs I need to open domain.com/docs/docs