From 643f4dc6cb197e3d2d547ce1c434e038eed2ead1 Mon Sep 17 00:00:00 2001 From: pouriyajamshidi Date: Sun, 17 Mar 2024 18:43:40 +0100 Subject: [PATCH] add --show-real-ips feature --- nginwho.nimble | 4 ++-- nginwho.service | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nginwho.nimble b/nginwho.nimble index 6b3da69..230e469 100644 --- a/nginwho.nimble +++ b/nginwho.nimble @@ -1,7 +1,7 @@ # Package -version = "0.5.0" -author = "pouriyajamshidi" +version = "0.7.0" +author = "pouriya jamshidi" description = "nginwho is a lightweight and extremely fast nginx log parser that stores the result into a sqlite3 database for further analysis and actions" license = "MIT" srcDir = "src" diff --git a/nginwho.service b/nginwho.service index e83eaab..0d8e0cd 100644 --- a/nginwho.service +++ b/nginwho.service @@ -5,7 +5,7 @@ After=Network.target [Service] Type=simple RemainAfterExit=yes -ExecStart=/usr/local/bin/nginwho --logPath:/var/log/nginx/access.log --dbPath:/var/log/nginwho.db +ExecStart=/usr/local/bin/nginwho --logPath:/var/log/nginx/access.log --dbPath:/var/log/nginwho.db --get-cidrs:true Restart=on-failure RestartSec=5