Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Co-exists with Nova #292

@bilogic

Description

@bilogic

I'm having trouble trying to make both Nova and Litstack co-exist, what I would like is:

example.com/admin -> goes to Nova
user1.example.com/admin -> goes to Litstack

I have trouble working out how Litstack bootstrap and kernel actually works, it seems very complicated to me.
Is there some way I can achieve the above? Hopefully with just a "tweak" in the config file or a place where I can write, if the domain is not example.com, then do not load Lit routes.

For now, my code checks the domain and only load Nova routes if the HTTP request is coming from example.com and it kind of works.

  1. At example.com/nova/login, I'm able to login to Nova.
  2. However, if I were to refresh (F5) while in Nova, example.com/admin will get intercepted by Lit instead of Nova

I'm aware that I can change /admin to be different for both Nova and Litstack, but it will look cleaner if both are able to use /admin

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions