J
J
Justin Bieber2016-09-06 09:52:09
Nginx
Justin Bieber, 2016-09-06 09:52:09

Why does nginx-access.log weigh so much?

Over the weekend, almost 100 mb. I put in nginx a redirect to https://
And nginx-error.log is 4-5 times smaller, is that right?
those. hosting support says that it was necessary to edit .htaccess for the redirect, but there was a loop

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2016-09-06
@miraage

Again, no one uses the search.
"logrotate nginx access log"

S
Sergey Zelensky, 2016-09-06
@SergeyZelensky-Rostov

Because there are a lot of requests to the server, that's right, it's better to make a log for a day, then archive and delete the log
so you will have logs for every day.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question