0

I have downloaded jss proxy and configured my site to run in headless mode. How to configure multiple sites with different domains

1

Are you planning multiple jss app for multiple sites or single jss app for multiple sites?

First scenario, take different builds and keep it in different folders in the proxy server. Then define same number of config (config.js).

Install vhost (npm install vhost) in the proxy server , which can be used to conditionally take config to be executed based on the hostname.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.