omexlu
26/05/2015, 19h32

- CDN=>Apache
- J'obtiens les IP du CDN
J'utilise plesk 12 , peut etre plesk a une configuration quelle que part?
EDIT: Problem resolu avec mod_cloudflare..
RPAFenable On
# When enabled, take the incoming X-Host header and
# update the virtualhost settings accordingly:
RPAFsethostname On
# Define which IP's are your frontend proxies that sends
# the correct X-Forwarded-For headers:
RPAFproxy_ips 46.105.0.0/16
# Change the header name to parse from the default
# X-Forwarded-For to something of your choice:
RPAFheader X-Remote-Ip
a2enmod rpaf
service apache2 restart
RPAFproxy_ips 46.105.0.0/16 RPAFheader X-Remote-Ip
RPAFenable On RPAFsethostname On RPAFproxy_ips 46.105.196. RPAFheader X-Forwarded-For