Disable error logging entirely.

This commit is contained in:
Kavin 2023-03-11 21:10:53 +00:00 committed by GitHub
parent fe0e1fb83d
commit 8ebff662e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@ server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name localhost; server_name localhost;
error_log off;
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;