[Alfresco] 利用bigIP做SSL加密及內部apache2反向代理後, 看不到外部IP的問題

No Comments

https://loadbalancer.org/blog/apache-and-x-forwarded-for-headers

——–
Alvaro R • 3 years ago
This works on all versions

SetEnvIf X-Forwarded-For “^(d{1,3}+.d{1,3}+.d{1,3}+.d{1,3}+).*” XFF1STIP=$1
LogFormat “%{XFF1STIP}e %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i”” combined

————-

Leave a Reply

Share via
Copy link