Logging the X-Forwarded-For Header and Disabling Proxy Health Check Logs in an Apache/Ubuntu Stack

Complete Guide: https://www.rmtechcentral.com/apache-... Apache HTTP Server sitting behind a reverse proxy is a very common setup. However, by default, Apache logs the source IP address in the layer 3 header instead of the X-Forwarded-For header. This can be inconvenient when checking server logs, as everything will appear to come from the same IP address. Another issue that can make reviewing logs more difficult is the logging of constant health checks initiated by the reverse proxy. These health check logs can quickly fill up the log files with redundant entries. This video was created to help you address these issues, while also briefly covering how to define custom log files. This is important when attempting to disable logging for specific criteria, such as reverse proxy health checks.   FOLLOW US --------------------------------------------------- TikTok:   / rmtechcentral   Facebook:   / rmtechcentral   Website: https://www.rmtechcentral.com CONTACT US --------------------------------------------------- Contact: https://www.rmtechcentral.com/contact CONTRIBUTE --------------------------------------------------- Did you find this content helpful? Let us know - https://www.rmtechcentral.com/contribute CHAPTERS --------------------------------------------------- 0:00 - Introduction 1:09 - Brief Overview 2:19 - Logging the X-Forwarded-For Header Versus L3 IP 10:23 - Filtering Logs Based on IP Address 12:10 - Defining Custom Log Files 16:50 - See Ya! #apache #ubuntu #linux