Automate proxy osgi configurationin in AEM nodes | Community
Skip to main content
Level 2
May 6, 2020
Solved

Automate proxy osgi configurationin in AEM nodes

  • May 6, 2020
  • 2 replies
  • 5766 views

Hi,

 

Can anyone please advice how can we automate this proxy settings. Like sample parameter need to pass with curl command.

 

 

Thanks

Sina

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by user05162

I would recommend creating different proxy config files based on the run modes. This way, the Same content package can be installed to all AEM instances and still apply different proxy configs. Check [1] for more details.

 

Although it's not recommended to manage these critical configs via curl, if you still want to create a CURL command, you can look into creating one by following steps at [2]

 

[1] https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmodes.html 

 

[2] https://docs.adobe.com/content/help/en/experience-manager-65/administering/operations/curl.html

2 replies

user05162Adobe EmployeeAccepted solution
Adobe Employee
May 6, 2020

I would recommend creating different proxy config files based on the run modes. This way, the Same content package can be installed to all AEM instances and still apply different proxy configs. Check [1] for more details.

 

Although it's not recommended to manage these critical configs via curl, if you still want to create a CURL command, you can look into creating one by following steps at [2]

 

[1] https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmodes.html 

 

[2] https://docs.adobe.com/content/help/en/experience-manager-65/administering/operations/curl.html

sina1819Author
Level 2
May 6, 2020

Thanks for your feedback.

Could you please elaborate little more about start with run mode.Example will be appricated.

 

Thanks

Sina

Adobe Employee
May 6, 2020

When you start the AEM instance you can mention run modes. For example: Staging instance can be started in the stage run mode and configs under "config.stage" be applied to it.

You can read more about how to start AEM instance with various run modes at [1]

 

[1] https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmodes.html#starting-cq-with-a-specific-run-mode

sina1819Author
Level 2
May 6, 2020

Thanks

We will check with our Dev team to deploy to AEM code and applied to it based on its RUN MODE.