From 05ebced7a162df173c72d6ac8fa4323a056acfad Mon Sep 17 00:00:00 2001 From: mulonemartin Date: Wed, 8 Jul 2015 09:53:53 -0300 Subject: [PATCH] Logs temporal --- nginx.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nginx.tmpl b/nginx.tmpl index f9cd4c0..044eb8e 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -18,8 +18,10 @@ log_format vhost '$host $remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"'; -access_log /proc/self/fd/1 vhost; -error_log /proc/self/fd/2; +#access_log /proc/self/fd/1 vhost; +#error_log /proc/self/fd/2; +access_log /var/log/nginx/access.log; +error_log /var/log/nginx/error.log; # HTTP 1.1 support proxy_http_version 1.1;