Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

X-Forwarded-For setup in dispatcher for obtaining client IP

Avatar

Level 3

Hi Folks ,

Please let me know how to setup X-Forwarded-For in our dispatcher in order to get details of client IP details . We are using AEMCaas . Got this post below but unable to figure out where to write this . 
https://www.lazydeveloper.tech/aem/accessing-the-users-ip-address-on-aem-servers-in-ams/
Eagerly waiting for your valuable suggestions.
Thanks in advance !!

Regards,
Kaushik

1 Accepted Solution

Avatar

Correct answer by
Level 3

Thanks everyone for your support . This feature is already enabled in AEMCaas . Below is the github link.
https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/dispatcher.cloud/src/...

View solution in original post

3 Replies

Avatar

Community Advisor

@kdatta If you have the dispatcher as suggested by Adobe for cloud. you should be able to add it remoteip.conf file present under conf.d folder , please check with CSE if am wrong. 

Avatar

Level 3

@Saravanan_Dharmaraj will you please let me know under which section I have to add remoteip.conf under conf.d folder .

kdatta_0-1681756502037.png

 

Avatar

Correct answer by
Level 3

Thanks everyone for your support . This feature is already enabled in AEMCaas . Below is the github link.
https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/dispatcher.cloud/src/...