jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
785 stars 178 forks source link

Difference in log files #198

Open imrayya opened 3 years ago

imrayya commented 3 years ago

There a small discrepancy in the log files. I've noticed that there a small differences between the log files, particularly in default.log and proxy_host-x.log. The small difference that I can see is that the HTTP response in the proxy_host_x.log is repeated eg

[17/Jul/2021:14:23:43 +0000] - 204 204 - GET https hello.website "/index.php/204" [Client 1.1.1.1] [Length 0] [Gzip -] [Sent-to 1.1.1.1] "Mozilla/5.0 (Android)" "-"

While in default.log

[04/Jun/2021:20:32:39 +0000] 444 - GET https 1.1.1.1 "/" [Client 1.1.1.1] [Length 0] [Gzip -] "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "-"

Which makes a bit more sense

jlesage commented 3 years ago

In the case of the proxy host, the HTTP response of received from the upstream is also printed (it's the first one).