Permalink
Browse files

log access only on :80

  • Loading branch information...
sorah committed Oct 22, 2017
1 parent 5556dde commit 92880478d679a12f9656ce121856d86f5223f124
Showing with 1 addition and 1 deletion.
  1. +1 −1 nginx.conf
View
@@ -25,7 +25,6 @@ http {
"\treqsize:$request_length"
"\truntime:$upstream_http_x_runtime"
"\tapptime:$upstream_response_time";
access_log /var/log/nginx/access.log ltsv;
error_log /var/log/nginx/error.log warn;
include /etc/nginx/mime.types;
@@ -106,6 +105,7 @@ http {
server {
listen 0.0.0.0:80 default_server;
access_log /var/log/nginx/access.log ltsv;
proxy_set_header Connection "";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 comments on commit 9288047

Please sign in to comment.