Custom Domain For Second Company


I am self-hosted and was trying to setup a custom domain for a second company. The only option I could find in the GUI is for setting an iframe URL. After digging around the code in github I found that the combination of setting the iframe_url and setting is_custom_domain to 1 (True) achieves the result I am desiring.

It looks like possibly this toggle in the GUI is hidden behind having an env variable for NINJA_PROD, NINJA_DEV, or RESELLER_TYPE.

Should I have one of these set for my self-host environment? I’m guessing the NINJA_PROD and NINJA_DEV variables are for identifying hosted servers, maybe RESELLER_TYPE?


I suggest setting up two instances of the app.