https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
w

wooden-river-6675

11/28/2023, 3:25 PM
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

swift-helmet-3648

11/28/2023, 3:30 PM
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

fresh-football-47124

12/01/2023, 7:55 AM
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
4 Views