Extend ddev config for multidomain setup

This commit is contained in:
Björn Fromme
2020-01-24 13:18:42 +01:00
parent e7d30d3995
commit 5cd9d03ab5
9 changed files with 120 additions and 247 deletions
+20 -16
View File
@@ -1,9 +1,17 @@
rootPageId: 884
base: 'https://www.ep-events.de'
baseVariants:
-
base: 'https://ep-events.burn.dpn'
condition: 'applicationContext == "Development"'
-
base: 'https://ep-events.ddev.site'
condition: 'applicationContext == "Development/Ddev"'
disableStaticFileCache: false
errorHandling:
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
languages:
-
title: Deutsch
@@ -31,16 +39,7 @@ languages:
fallbackType: strict
fallbacks: ''
flag: gb
errorHandling:
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
rootPageId: 884
routeEnhancers:
NewsPlugin:
type: Extbase
@@ -117,10 +116,15 @@ routeEnhancers:
routeFieldName: uid
PageTypeSuffix:
type: PageType
default: '/'
default: /
index: ''
map:
'/': 0
'/json': 1703
'sitemap.xml': 1533906435
'yoast-snippetpreview.json': 1480321830
/: 0
/json: 1703
sitemap.xml: 1533906435
yoast-snippetpreview.json: 1480321830
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"