[download-web/mirrorbits] nginx: Fix log_format



commit 01e332cc0bfbf5cf56cf490aee94cfcbbecad1e0
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Dec 8 09:04:16 2020 +0100

    nginx: Fix log_format

 nginx/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index dfe53bb..b512a0a 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -18,7 +18,7 @@ http {
 
     log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                       '$status $body_bytes_sent "$http_referer" '
-                      '"$http_user_agent" "$http_x_forwarded_for" "$geoip_country_code"';
+                      '"$http_user_agent" "$http_x_forwarded_for"';
     access_log  /dev/stdout  main;
 
     include       /etc/nginx/mime.types;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]