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; }