Benjamin_D
(Benjamin Decotte)
11
Apache をサーバー兼プロキシとして使う方が、nginx や HAproxy をバンドルするより複雑かどうかはわかりません 
チュートリアルについては、CentOS と Ubuntu で大きな違いはありません。yum の代わりに apt を使います。
https://support.cloudflare.com/hc/en-us/articles/360029696071-Restoring-original-visitor-IPs-Option-2-Installing-mod-remoteip-with-Apache
Apache をリバースプロキシとして使う場合は、こちらをお勧めします。