diff --git a/root/etc/nginx/nginx.conf b/root/etc/nginx/nginx.conf index 39e3ed1..3159ddf 100644 --- a/root/etc/nginx/nginx.conf +++ b/root/etc/nginx/nginx.conf @@ -82,7 +82,6 @@ stream { listen 0.0.0.0:443; listen [::]:443; proxy_pass $selected_upstream; - access_log syslog:server=unix:/dev/log geoip; proxy_protocol on; include /etc/nginx/partials/server.conf; diff --git a/root/etc/nginx/partials/server.conf b/root/etc/nginx/partials/server.conf index e54a8a8..bce5de1 100644 --- a/root/etc/nginx/partials/server.conf +++ b/root/etc/nginx/partials/server.conf @@ -1,5 +1,5 @@ # Default server configuration -access_log /dev/stdout basic; +access_log syslog:server=unix:/dev/log geoip; resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4; set_real_ip_from 0.0.0.0/0; ssl_preread on;