From 5a116ddf9c7df7513074db035810affeba562b60 Mon Sep 17 00:00:00 2001 From: Tine Date: Tue, 5 Nov 2024 21:42:40 +0100 Subject: [PATCH] fix: server directive --- root/etc/nginx/nginx.conf | 1 - root/etc/nginx/partials/server.conf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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;