n8n is the source of truth for the SEO markup: the element's bodytext is overwritten with the posted object, wrapped in a ld+json script element. Values are escaped with JSON_HEX_TAG so they cannot close the element. The endpoint has its own key (jsonLdApiKey, header only) and writes through DataHandler as the non-admin backend user _n8n, so every change is in the record history and can be undone there, and the page cache is cleared. Until the key and the user exist on prod, every request answers 403/503. Prod setup (group n8n, user _n8n) is in docs/cms-api.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
44 lines
1.7 KiB
PHP
44 lines
1.7 KiB
PHP
<?php
|
|
|
|
// Template for config/system/secrets.php (not in Git). Values come from the TYPO3 10
|
|
// production LocalConfiguration.php; empty values are ignored.
|
|
return [
|
|
// Production only (DDEV brings its own database settings)
|
|
'DB' => [
|
|
'Connections' => [
|
|
'Default' => [
|
|
'dbname' => '',
|
|
'host' => '',
|
|
'password' => '',
|
|
'user' => '',
|
|
],
|
|
],
|
|
],
|
|
'SYS' => [
|
|
// Must be the production key of TYPO3 10: static pages link to cHash URLs served by TYPO3 13
|
|
'encryptionKey' => '',
|
|
],
|
|
'EXTENSIONS' => [
|
|
'ep_products' => [
|
|
// /api/hotel, /api/product, /api/content/* (X-Api-Key or ?key=)
|
|
'cmsApiKey' => '',
|
|
// n8n: PUT /api/json-ld/{uid} (X-Api-Key only), writes as backend user _n8n
|
|
'jsonLdApiKey' => '',
|
|
// MyE&P OAuth2 client credentials (import, price calendar); locally e.g. https://myep.ddev.site/api/
|
|
'myEpApiBaseUrl' => '',
|
|
'myEpApiClientId' => '',
|
|
'myEpApiClientSecret' => '',
|
|
'myEpApiUrlAuthorize' => '',
|
|
'myEpApiUrlToken' => '',
|
|
// MyE&P Team: job application forms (ApplicationApiFinisher), POST /api/application-forms
|
|
'epTeamApiBaseUrl' => '',
|
|
'epTeamApiKey' => '',
|
|
// ep:groups-swiss (cron, daily): availability of the group houses on groups.swiss.
|
|
// Production only; the keys are in the TYPO3 10 scheduler tasks 16-21.
|
|
// 'groupsSwissHouses' => [
|
|
// ['hotel' => 5, 'house' => '9850', 'key' => ''],
|
|
// ],
|
|
],
|
|
],
|
|
];
|