Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
Yes
Are you sure you're not using someone else's docker image?
Yes
Have you searched for similar issues (both open and closed)?
Yes
Nginx Proxy Manager Version
jc21/nginx-proxy-manager:latest
Describe the bug
Hello Team,
We are integrating access log and error log with Log Monitoring Tools, we are getting different log format compared with default-host (default-host_access.log ) and proxy-host(proxy-host-2_access.log). the proxy host is log is not getting trigger with tools.
Is there any way make proxy-host logs same as default host access log pattern.
Checklist
jc21/nginx-proxy-manager:latest
docker image?Nginx Proxy Manager Version jc21/nginx-proxy-manager:latest
Describe the bug
Hello Team,
We are integrating access log and error log with Log Monitoring Tools, we are getting different log format compared with default-host (default-host_access.log ) and proxy-host(proxy-host-2_access.log). the proxy host is log is not getting trigger with tools. Is there any way make proxy-host logs same as default host access log pattern.
Here the sample log pattern,
cat ./data/logs/default-host_access.log
178.79.135.132 - - [19/Jun/2023:04:17:20 +0000] "GET /db/phpmyadmin5/index.php?lang=en HTTP/1.1" 404 183 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" 178.79.135.132 - - [19/Jun/2023:04:17:20 +0000] "GET /_phpmyadmin/index.php?lang=en HTTP/1.1" 404 183 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" 178.79.135.132 - - [19/Jun/2023:04:17:20 +0000] "GET /sql/phpmyadmin5/index.php?lang=en HTTP/1.1" 404 183 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" 178.79.135.132 - - [19/Jun/2023:04:17:20 +0000] "GET /phpMyAdmin-5/index.php?lang=en HTTP/1.1" 404 183 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
cat ./data/logs/proxy-host-2_access.log
[18/Jun/2023:23:51:58 +0000] - 404 404 - GET http api.domain2.com "/" [Client 172.70.46.89] [Length 49] [Gzip -] [Sent-to homepreneur] "Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)" "http://api.domain2.com:2095" [19/Jun/2023:04:04:46 +0000] - 200 200 - GET http api.domain2.com "/uploads/student_edition/applicant_photos/1686939840094-179761428.png" [Client 162.158.110.25] [Length 963755] [Gzip -] [Sent-to homepreneur] "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "https://admin.domain2.com/" [18/Jun/2023:23:51:58 +0000] - 404 404 - GET http api.domain2.com "/" [Client 172.70.46.89] [Length 49] [Gzip -] [Sent-to homepreneur] "Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)" "http://api.domain2.com:2095" [19/Jun/2023:04:04:46 +0000] - 200 200 - GET http api.domain2.com "/uploads/student_edition/applicant_photos/1686939840094-179761428.png" [Client 162.158.110.25] [Length 963755] [Gzip -] [Sent-to homepreneur] "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "https://admin.domain2.com/"