Apache + Ubuntu Behind Reverse Proxy | Log X-Forwarded-For Header | Disable Proxy Health Check Logs

Channel:
Subscribers:
6,570
Published on ● Video Link: https://www.youtube.com/watch?v=oDatf1ImOTU



Category:
Vlog
Duration: 17:37
296 views
6


Complete Guide: https://www.rmtechcentral.com/apache-ubuntu-behind-a-reverse-proxy-log-x-forwarded-for-header-disable-proxy-health-check-logs

Apache HTTP Server sitting behind a reverse proxy is a very common setup, however, by default, Apache will log the source IP address inside the layer 3 header as opposed to the X-Forwarded-Header. This can be inconvenient when checking server logs, because everything will appear as though it is coming from the same IP address.

Another issue that can make poking through logs a bit more painful, is the logging of the constant health checks initiated from the reverse proxy. The logging of these health checks by Apache can lead to the log filling up rapidly with line after line of redundant text.

This video was created to help you remedy these issues, while also briefly touching on how to define custom log files as well, since this comes with the territory when aiming to disable logging for specific criteria such as reverse proxy health checks.
 
FOLLOW US
---------------------------------------------------
TikTok: https://www.tiktok.com/@rmtechcentral
Facebook: https://www.facebook.com/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




Other Videos By Robert Mayer


2024-06-01It’s all about that data Boiii!
2024-05-30Dell Poweredge R310 RAID 10 Single Drive Replacement (Getting rid of the last Western Digital Blue)
2024-05-29Plumbing Day 2: New Fittings and New Disappointment (Part 2)
2024-05-29Plumbing Fail: Sort of - Wrong Fittings (Part 1)
2024-03-25Part 2 (Update): How To Create Custom Ringtones for iPhone Using iTunes | iTunes Drag and Drop Fix
2024-03-07Part 2 (Update): How To Configure Dual ISP Failover on a Cisco Router With a Dynamic IP Address
2024-03-01Mean Comments on YouTube
2024-02-25Quieting 1U Rackmount Equipment with Arctic S4028-6K Fans (Noctua Didn't Make the Cut This Time)
2024-02-21ARCTIC S4028-6K 40mm Fans
2024-01-30She's Gonna Blow!
2023-12-09Apache + Ubuntu Behind Reverse Proxy | Log X-Forwarded-For Header | Disable Proxy Health Check Logs
2023-11-19The Magic John Screen Protector | iPhone 14 Pro Max #shorts #iphone #magicjohn #screenprotector
2023-11-19Is the MAGIC JOHN Screen Protector a SCAM or is it legit?? (Unboxing, Installation, and Review)
2023-05-22How Well Do You Understand Spanning Tree Protocol? Part 2 - Unmanaged Switch Loop + Managed Switch
2023-05-19Mini Data Center in a Loft?
2023-05-17Does Super Fast Internet Really Matter? Well... Sometimes...
2023-05-16How To Create Custom Ringtones for iPhone Using iTunes on a Windows PC | Full Video
2023-05-15How To Create Custom Ringtones for iPhone Using iTunes on a Windows PC
2023-05-10LSMC 11 Official Tutorial | A Paid Solution to Regain Access to a "Locked Out" Windows PC | RMTech
2023-04-14How Upload Bandwidth/Latency Can Affect Download Speed
2023-04-08Bits vs Bytes



Tags:
ubuntu
apache
linux
webserver