Disabling access_log
Purpose
Writing logs impairs system performance. Therefore, disable this function.
This setting is useful for the HTTPS scenario but not for the HTTP scenario.
Procedure
- Open the nginx.conf file.
- Press i to enter the insert mode and add the access_log off; parameter in the HTTPS scenario.
- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Nginx Tuning