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
+21 -17
View File
@@ -1,9 +1,17 @@
rootPageId: 14
base: 'https://www.ski-wochenenden.de'
baseVariants:
-
base: 'https://ski-wochenenden.burn.dpn'
condition: 'applicationContext == "Development"'
-
base: 'https://ski-wochenenden.ddev.site'
condition: 'applicationContext == "Development/Ddev"'
disableStaticFileCache: false
errorHandling:
-
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
languages:
-
title: Deutsch
@@ -17,16 +25,7 @@ languages:
hreflang: de-DE
direction: ''
flag: de
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: 14
routeEnhancers:
StaticResultsPlugin:
type: Extbase
@@ -45,11 +44,16 @@ routeEnhancers:
filter_settings: '[A-Z\d%\-]+'
PageTypeSuffix:
type: PageType
default: '/'
default: /
index: ''
map:
'/': 0
'/json': 1701
'/html': 1702
'sitemap.xml': 1533906435
'yoast-snippetpreview.json': 1480321830
/: 0
/json: 1701
/html: 1702
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"