Proxy and Reverse Proxy for website | Community
Skip to main content
Sean-McK
Level 4
January 5, 2023
Solved

Proxy and Reverse Proxy for website

  • January 5, 2023
  • 3 replies
  • 3221 views

Hey All,

 

I am using AEM as a cloud service and want to use reverse proxy but I am running into an issue and was wondering is anyone else doing this?

 

So I want everything under /shop to service up another website for example

 

https://www.aem-website.com  <-- AEM as cloud service

https://www.aem-website.com/contact-us.html  <-- AEM as cloud service

https://www.aem-website.com/shop  <-- https://www.another-customer-site.com  (everything under should the other site)

https://www.aem-website.com/shop/page1  <-- https://www.another-customer-site.com/page1 

 

I have done some proxying but this is what I think?

 

<IfDefine ANOTHER_URL>
    ProxyHTMLStripComments on
     ProxyRequests off
     SetOutputFilter proxy-html
     ProxyHTMLDoctype XHTML
    SSLProxyEngine on
    <LocationMatch "/store$">
        ProxyPass   ${ANOTHER_URL}$2
        ProxyPassReverse ${ANOTHER_URL}
        RewriteEngine    Off
    </LocationMatch>
</IfDefine>
 
Some of this will work but some modules are not installed like  ProxyHTMLStripComments ProxyHTMLDoctype
 
I know in past I was able to load/use other modules.....has anyone done this and can it be done?
 
Thanks,
Sean
 
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 AlbinIs1

AEM as Cloud by default only supports mod_proxy and mod_proxy_http modules; refer to https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/content-delivery/disp-overview.html?lang=en# for more details on the supported modules.

I am not sure AEM as a Cloud allows to enable additional modules due to security restrictions(this is the note from the above document - Customers cannot add arbitrary modules. However, additional modules may be considered for inclusion in the future. ); please raise a support ticket to understand more on this.

Regards

Albin

https://www.albinsblog.com

3 replies

Kiran_Vedantam
Community Advisor
Community Advisor
January 5, 2023
Sean-McK
Sean-McKAuthor
Level 4
January 5, 2023

I have seen that post, but there is no answer other then adding debugging?

AlbinIs1Community AdvisorAccepted solution
Community Advisor
January 7, 2023

AEM as Cloud by default only supports mod_proxy and mod_proxy_http modules; refer to https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/content-delivery/disp-overview.html?lang=en# for more details on the supported modules.

I am not sure AEM as a Cloud allows to enable additional modules due to security restrictions(this is the note from the above document - Customers cannot add arbitrary modules. However, additional modules may be considered for inclusion in the future. ); please raise a support ticket to understand more on this.

Regards

Albin

https://www.albinsblog.com

aanchal-sikka
Community Advisor
Community Advisor
June 9, 2024

AEM as a CLoud now provides Origin Selector config at level of Fastly CDN.

For details, please refer to https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/cdn-configuring-traffic#origin-selectors

Aanchal Sikka