Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx access_log enabled #938

Open
d2ro opened this issue Oct 11, 2024 · 0 comments
Open

nginx access_log enabled #938

d2ro opened this issue Oct 11, 2024 · 0 comments

Comments

@d2ro
Copy link

d2ro commented Oct 11, 2024

Hi, we're running the latest btcpayserver-docker (with "log-driver": "journald" in /etc/docker/daemon.json, if that matters). It seems that nginx access_log is enabled by default:

$ journalctl -e
[...]
Oct 11 12:39:10 example.com f33d0b06b6c1[518]: example.com 172.18.0.1 - - [11/Oct/2024:10:39:10 +0000] "GET / HTTP/2.0" 302 0 "-" "redacted"
Oct 11 12:39:11 example.com f33d0b06b6c1[518]: example.com 172.18.0.1 - - [11/Oct/2024:10:39:11 +0000] "GET /login?ReturnUrl=%2F HTTP/2.0" 200 15834 "-" "redacted"
[...]

The logs don't contain external IP addresses, but they do contain User-Agent headers, and they are flooding our logs. Is there a proper way to disable the logging?

Thank you very much in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant