From b9718404597d18e3a3ae1cf0ab50f0c7f2856614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Tue, 18 Oct 2016 17:44:58 +0200
Subject: [PATCH] Changed Nginx stats url.

---
 tests/test_nginx_status.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_nginx_status.py b/tests/test_nginx_status.py
index f2faa2e1..b57dcdb6 100755
--- a/tests/test_nginx_status.py
+++ b/tests/test_nginx_status.py
@@ -11,9 +11,9 @@ import sys
 if not os.path.exists('/etc/nginx'):
     print('Nginx dir does not exists, test skipped.')
 else:
-    print('Checking http://localhost/nginx_status response.')
+    print('Checking http://127.0.0.1:1080/nginx_status response.')
     try:
-        req = requests.get('http://localhost/nginx_status', timeout=5)
+        req = requests.get('http://127.0.0.1:1080/nginx_status', timeout=5)
         if req.status_code != 200:
             raise Exception('Request failed with status code %s.' % req.status_code)
         if 'Active connections' not in req.text:
-- 
GitLab