Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running nova-assertions for nova on a subdomain #23

Open
FrazeColder opened this issue Feb 26, 2021 · 3 comments
Open

Running nova-assertions for nova on a subdomain #23

FrazeColder opened this issue Feb 26, 2021 · 3 comments

Comments

@FrazeColder
Copy link

Hi,

I have created a project with Laravel Nova as a backend service to mange my project. However, my Laravel Nova is accessible via nova.mywebsiteproject.test. So, basically it lies on a subdomain which is, in my opinion, better.

However, sadly this project does not support subdomains. Is there any possibility we can add this kind of feature to this project? This would be awesome!

If anyone is wondering how you can route Laravel Nova via a subdomain, this is how. You have to add this is the config/nova.php file:

/*
|--------------------------------------------------------------------------
| Nova App URL
|--------------------------------------------------------------------------
|
| This URL is where users will be directed when clicking the application
| name in the Nova navigation bar. You are free to change this URL to
| any location you wish depending on the needs of your application.
|
*/

'url' => env('NOVA_SUBDOMAIN') . "." . env('APP_DOMAIN'),

/*
|--------------------------------------------------------------------------
| Nova App Domain
|--------------------------------------------------------------------------
|
*/

'domain' => env('NOVA_SUBDOMAIN') . "." . env('APP_DOMAIN'),

Kind regards!

@RhysLees
Copy link

RhysLees commented Aug 6, 2024

@FrazeColder, @dillingham Is there any update on this? also running into the same issue

@dillingham
Copy link
Owner

dillingham commented Aug 6, 2024

@FrazeColder, @dillingham Is there any update on this? also running into the same issue

Someone should fork this if they want fixes. I don't plan on working on nova packages anymore, sorry

@RhysLees
Copy link

RhysLees commented Aug 7, 2024

@FrazeColder, @dillingham Is there any update on this? also running into the same issue

Someone should fork this if they want fixes. I don't plan on working on nova packages anymore, sorry

No problem, ill see what i can do
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants