nginx_apache : Apache log files show static file hits

iworx

Verified User
Joined
Nov 21, 2006
Messages
96
Location
Belgium
I might be overthinking things but I just wanted to ask the collective :

- I have nginx_apache set as webserver(s) for all my clients.
- When looking at the logs of both NGINX as Apache I see the same entries for .css, .jpg ..

Q: When NGINX serves the file, should the request still end up with Apache?
 
maybe you see anti-cache requests for static versions, like filename.css?ver=x
 
No, direct hits on .jpg, .webp, .woff2 .. nothing with a ? in there. Checked that one too.
 
try ask this file from outside with HEAD or CURL to see who serves it.
 
It must, because it listens 80/443 ports, but when you ask one file with direct link - you can check again logs, where this request will appear.
 
It still appears in both logs. I've opened up a support ticket with DA and they responded this is perfectly normal so we can close this thread :)
 
Back
Top