feat(nginx-log): 4 个 stack 模板增加 log_format 与 access_log 配置(Docker 开箱即用)

This commit is contained in:
augushong
2026-07-28 00:20:32 +08:00
parent 3405f8de60
commit ce191adfd8
13 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# ulthon_admin nginx_log 分析专用 log_format
# 必须放在 nginx 的 http 块(通过 conf.d/*.conf 自动 include)
log_format analytics '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" '
'$request_time $upstream_response_time $bytes_sent';