Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to quote expansion of $cfg.LogFormatStream in log_stream access log #4658

Merged
merged 1 commit into from
Oct 12, 2019

Commits on Oct 10, 2019

  1. Need to quote expansion of $cfg.LogFormatStream in log_stream access log

    format in nginx.tmpl otherwise individual variables are just glued together
    without separating spaces so that you would get these in access logs:
    
    [10/Oct/2019:05:03:30 +0000]TCP200000.003
    [10/Oct/2019:05:03:30 +0000]TCP200000.000
    [10/Oct/2019:05:05:04 +0000]TCP200000.000
    
    which supposed to be someting like these:
    [10/Oct/2019:05:03:30 +0000] TCP 200 0 0 0.003
    [10/Oct/2019:05:03:30 +0000] TCP 200 0 0 0.000
    [10/Oct/2019:05:05:04 +0000] TCP 200 0 0 0.000
    turchanov committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    0476715 View commit details
    Browse the repository at this point in the history