...
Step 11 - Optional: Update CONGA configuration
If you are using CONGA you may have defined a override rule like this in your AEM system configuration template:
Code Block |
---|
|
{{#if configOverrides}}
# Override site configuration
io.wcm.config.core.override.impl.OsgiConfigOverrideProvider-override
enabled=B"true"
description="Site URL Config Overrides"
overrides=[
{{~#each configOverrides ~}}
{{~#each this ~}}
"[{{../@key}}]{{@key}}\={{this}}",
{{~/each ~}}
{{~/each ~}}
]
{{/if}} |
Change it to:
No Format |
---|
{{#if configOverrides}}
# Override site configuration
org.apache.sling.caconfig.impl.override.OsgiConfigurationOverrideProvider-override
enabled=B"true"
description="Site URL Config Overrides"
overrides=[
{{~#each configOverrides ~}}
{{~#each this ~}}
"[{{../@key}}]{{this}}",
{{~/each ~}}
{{~/each ~}}
]
{{/if}} |
and use a syntax like this in the environment definitions to configure overrides:
No Format |
---|
# Force-Override site URLs in all site configs on the system
configOverrides:
"/content/myapp":
- io.wcm.handler.url.SiteConfig/siteUrl="http://www.myapp.net"
- io.wcm.handler.url.SiteConfig/siteUrlSecure="https://www.myapp.net"
- io.wcm.handler.url.SiteConfig/siteUrlAuthor="https://author.myapp.net" |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | WCMIO |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "migration" and type = "page" and space = "WCMIO" |
---|
labels | kb-troubleshooting-article |
---|
|
...