From 450ae4d42da8558d60a4ede2286531ac7cf57771 Mon Sep 17 00:00:00 2001 From: irl Date: Mon, 28 Apr 2025 15:50:37 +0100 Subject: [PATCH] feat: set nginx log level by environment variable --- src/default.conf | 2 +- src/env.main | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/default.conf b/src/default.conf index c10dfb6..4634642 100644 --- a/src/default.conf +++ b/src/default.conf @@ -1,4 +1,4 @@ -error_log /dev/stdout; +error_log /dev/stdout $JASIMA_LOG_LEVEL; lua_shared_dict jasima_cache 20m; lua_package_path "/opt/sitelen-tu/?.lua;;"; diff --git a/src/env.main b/src/env.main index bf5deaf..8c8d296 100644 --- a/src/env.main +++ b/src/env.main @@ -1 +1,2 @@ +env JASIMA_LOG_LEVEL; env JASIMA_MATOMO_HOST; \ No newline at end of file