Skip to content

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