fix: server directive

This commit is contained in:
Tine 2024-11-05 21:42:40 +01:00
parent 88c854b58f
commit 5a116ddf9c
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 1 additions and 2 deletions

View file

@ -82,7 +82,6 @@ stream {
listen 0.0.0.0:443; listen 0.0.0.0:443;
listen [::]:443; listen [::]:443;
proxy_pass $selected_upstream; proxy_pass $selected_upstream;
access_log syslog:server=unix:/dev/log geoip;
proxy_protocol on; proxy_protocol on;
include /etc/nginx/partials/server.conf; include /etc/nginx/partials/server.conf;

View file

@ -1,5 +1,5 @@
# Default server configuration # 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; 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; set_real_ip_from 0.0.0.0/0;
ssl_preread on; ssl_preread on;