Hi everyone, for self hosting is it possible I can...
# ask-questions
w
Hi everyone, for self hosting is it possible I can deploy the frontend on example.com and backend on example.com/backend. I tried this I'm getting an error 401 authorization token not found. Do you know how can I fix this issue?
s
Hi, yes it's possible. You just need to set the right environment variables. See here: https://docs.growthbook.io/self-host/env
Can you provide a screenshot of the error? It seems like your frontend client is not supplying the bearer token but that seems odd since it's application-level
f
Hosting GrowthBook with directories instead of subdomains is technically possible but practically difficult - you would need some way to proxy those incoming requests to pass them to a host on a separate port or subdomain