Skip to content

+ allow to set log_format (switch order of log_file with http options #7

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

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

maqdev
Copy link

@maqdev maqdev commented Dec 27, 2016

Setting http options before access_log/error_log give ability to define log format like this:

    nginx_access_log: /var/log/nginx/access.log main
    nginx_http_options:
      - |
        log_format main '$http_x_forwarded_for - $remote_user [$time_local] "$host" "$request" ' 
            '$status $body_bytes_sent "$http_referer" '
            '"$http_user_agent" $request_time';

@maqdev
Copy link
Author

maqdev commented Feb 13, 2017

  • добавилась поддержка nginx_enable_dynamic_modules (случайно в ту же ветку)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants