commit 08-2025
This commit is contained in:
parent
9ae662f63e
commit
480fdc65ed
404 changed files with 65310 additions and 2600431 deletions
66
config/domains.php
Normal file
66
config/domains.php
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Domain-Konfiguration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Hier werden alle Domains und Subdomains der Anwendung zentral verwaltet.
|
||||
| Der DomainService und der DomainResolver verwenden diese Konfiguration,
|
||||
| um den richtigen Kontext für jede Anfrage zu bestimmen.
|
||||
|
|
||||
*/
|
||||
|
||||
'protocol' => env('APP_PROTOCOL', 'https://'),
|
||||
|
||||
'domains' => [
|
||||
// Die Hauptdomain (z.B. mivita.care)
|
||||
'main' => [
|
||||
'host' => env('APP_DOMAIN', 'mivita') . env('APP_TLD_CARE', '.care'),
|
||||
'type' => 'main',
|
||||
],
|
||||
|
||||
// Die Shop-Domain (z.B. mivita.shop)
|
||||
'shop' => [
|
||||
'host' => env('APP_DOMAIN', 'mivita') . env('APP_TLD_SHOP', '.shop'),
|
||||
'type' => 'main-shop',
|
||||
'default_user_shop' => 'aloevera', // Fallback-Shop für diese Domain
|
||||
],
|
||||
|
||||
// Das CRM (z.B. my.mivita.care)
|
||||
'crm' => [
|
||||
'host' => env('APP_URL_CRM', 'my.') . env('APP_DOMAIN', 'mivita') . env('APP_TLD_CARE', '.care'),
|
||||
'type' => 'crm',
|
||||
],
|
||||
|
||||
// Das Partner-Portal (z.B. in.mivita.care)
|
||||
'portal' => [
|
||||
'host' => env('APP_URL_PORTAL', 'in.') . env('APP_DOMAIN', 'mivita') . env('APP_TLD_CARE', '.care'),
|
||||
'type' => 'portal',
|
||||
],
|
||||
|
||||
// Die Checkout-Domain (z.B. checkout.mivita.care)
|
||||
'checkout' => [
|
||||
'host' => env('APP_URL_CHECKOUT', 'checkout.') . env('APP_DOMAIN', 'mivita') . env('APP_TLD_CARE', '.care'),
|
||||
'type' => 'checkout',
|
||||
],
|
||||
|
||||
// Die dynamischen User-Shops (z.B. {slug}.mivita.care)
|
||||
'user-shop' => [
|
||||
'host' => '{subdomain}.' . env('APP_DOMAIN', 'mivita') . env('APP_TLD_CARE', '.care'),
|
||||
'type' => 'user-shop',
|
||||
],
|
||||
],
|
||||
|
||||
// Feste Subdomain-Präfixe, die reserviert sind
|
||||
'reserved_subdomains' => [
|
||||
'my',
|
||||
'in',
|
||||
'checkout',
|
||||
'www',
|
||||
'api',
|
||||
'mail',
|
||||
],
|
||||
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue