Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nginx/templates/nginx.conf.erb

Issue 29328450: Issue 3102 - Introduce log_format "data" for storing POST messages (Closed)
Patch Set: Issue 3102 - Fixed missing whitespace issue Created Sept. 22, 2015, 6:57 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld