You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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:Kind regards!
The text was updated successfully, but these errors were encountered: