How to deploy client to subdirectory? https://subdomain.domain.com/subdirectory #223
Unanswered
rexeo-asia
asked this question in
Q&A
Replies: 2 comments 2 replies
-
![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why not deploy to subdirectory? Isn't it easier.? For example chatgpt.domain.com |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reason:
I have a common domain: https://subdomain.domain.com/subdirectory, and each subdirectory is a reverse proxy of another app server machine across my on premise office. I've tried ask GPT3.5 for help but unable to do so
if react can refer like this: https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/
but for nuxt3, I did try add /subdirectory/ to app.baseUrl and it work to serve the pages, however the django APIs(/api/**) messed up, any pointers?
Beta Was this translation helpful? Give feedback.
All reactions