From 03286c9f75bdd50233e28ca5037ef0c5671dfc62 Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 11 Dec 2024 22:20:55 -0600 Subject: [PATCH] Change ordering --- nginx.conf | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index df8abe2..ae070d7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -10,6 +10,16 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; - # Include server configurations - include /etc/nginx/conf.d/*.conf; + # Define log formats first + include /etc/nginx/conf.d/matomo_log_format.conf; + + # Basic settings + sendfile on; + tcp_nopush on; + tcp_nodelay on; + keepalive_timeout 65; + types_hash_max_size 2048; + + # Include remaining server configurations + include /etc/nginx/conf.d/default.conf; }