Index: modules/nginx/templates/nginx.conf.erb |
diff --git a/modules/nginx/templates/nginx.conf.erb b/modules/nginx/templates/nginx.conf.erb |
index 8f676785510fc23441e983d34d8ce343097f4f1f..ce3fee11d4b8812e9971ebf42b20655a80731757 100644 |
--- a/modules/nginx/templates/nginx.conf.erb |
+++ b/modules/nginx/templates/nginx.conf.erb |
@@ -19,6 +19,12 @@ http { |
'"$http_user_agent" "$http_x_forwarded_for" $scheme ' |
'"$http_accept_language" "$http_host" "$http_x_client_id"'; |
+ log_format data '$remote_addr - $remote_user [$time_local] "$request" ' |
+ '$status $bytes_sent "$http_referer" ' |
+ '"$http_user_agent" "$http_x_forwarded_for" $scheme ' |
+ '"$http_accept_language" "$http_host" "$http_x_client_id" ' |
+ '$http_content_length "$http_content_type" $request_body'; |
+ |
access_log /var/log/nginx/access.log main; |
server_tokens off; |