D
D
dani1a2018-06-28 15:51:21
Nginx
dani1a, 2018-06-28 15:51:21

The /etc/nginx folder contains the on. Takes as much as 28 gigs. What is it? And how to optimize?

The site is powered by nginx (Bitrix env). The /etc/nginx folder contains the on. Takes as much as 28 gigs. What is it? And how to optimize? I am not strong in administration - so do not kick)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2018-06-28
@dani1a

You probably have somewhere in the config written access_log on;.

V
Viktor Taran, 2018-06-29
@shambler81

most likely you have loeration enabled there, or for example, a variable is used in the log path, and this is a purely text value, as a result, the path remains "crooked" and as a result of this, a log file is created right here, and fun everything starts to be written into it.
Feel free to delete this file and look for who creates it.
Config of one of the sites in the studio
Plus default.conf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question