RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Basic example
Syntax Syntax: log_format name string ...; Syntax: access_log path [format [buffer=size] [gzip[=level]] [flush=time] [if=condition]]; access_log off; Using them together log_format compression '$remote_addr - $remote_user [$time_local] ' '"$request" $status...
Reopen log files
As a root user run: nginx -s reopen
Avoid logging for favicon.ico and robots.txt
location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { allow all; log_not_found off; access_log off; }
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website