› NGINX
› NGINX Trac
› 3rd Party Modules
› Security Advisories
› CHANGES
› OpenResty
› ngx_lua
› Tengine
在线学习资源
› NGINX 开发从入门到精通
NGINX Modules
› ngx_echo
jackrebel
V2EX  ›  NGINX

nginx 日志记录,怎么给不同的网站 自定义不同的 log_format?

  •  
  •   jackrebel · May 19, 2020 · 1921 views
    This topic created in 2319 days ago, the information mentioned may be changed or developed.

    宝塔 linux 面板,nginx 怎么给某个站 自定义不同的 log_format ? google 了一圈, 没有找到有用的。。。

    不要全局的, 只为单个站设置。。

    哪位大神能帮忙。 宝塔里面单个站的配置文件里面只有 Server{}节点。 是不是可以直接定义 Http{}

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1005 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    ♥ Do have faith in what you're doing.