performance - rsyslog and fail2ban removing

This commit is contained in:
bunkerity
2021-05-13 11:14:39 +02:00
parent 5bcbb38638
commit eb2d0d330d
13 changed files with 69 additions and 134 deletions

View File

@@ -10,8 +10,8 @@ load_module /usr/lib/nginx/modules/ngx_stream_geoip2_module.so;
load_module /usr/lib/nginx/modules/ngx_http_brotli_filter_module.so;
load_module /usr/lib/nginx/modules/ngx_http_brotli_static_module.so;
# run as daemon
daemon on;
# run in foreground
daemon off;
# PID file
pid /tmp/nginx.pid;
@@ -52,8 +52,8 @@ http {
# write logs to local syslog
log_format logf '%LOG_FORMAT%';
access_log syslog:server=unix:/tmp/log,nohostname,facility=local0,severity=notice logf;
error_log syslog:server=unix:/tmp/log,nohostname,facility=local0 info;
access_log /var/log/access.log logf;
error_log /var/log/error.log info;
# temp paths
proxy_temp_path /tmp/proxy_temp;