Use https URLs for checking external IP #1253

This commit is contained in:
nicolargo 2018-04-29 22:24:55 +02:00
parent 723e820e6d
commit 8b6b0d3bd0
2 changed files with 5 additions and 4 deletions

3
NEWS
View File

@ -25,6 +25,7 @@ Enhancements and new features:
* Add a new output mode to stdout #1168
* Huge refactor of the WebUI packaging thanks to @spike008t #1239
* Add time zone to the current time #1249
* Use https URLs for checking external IP #1253
One more thing ! A new Grafana Dash is available with:
* Network interface variable
@ -51,7 +52,7 @@ Bugs corrected:
* [WEB UI] Minor issue on the Web UI #1240
* [Glances 3.0 RC1] Client/Server is broken #1244
* Fixing horizontal scrolling #1248
* Stats updated during export (thread issue) #1250
* Stats updated during export (thread issue) #1250
Backward-incompatible changes:

View File

@ -41,9 +41,9 @@ else:
# - url: URL of the Web site
# - json: service return a JSON (True) or string (False)
# - key: key of the IP addresse in the JSON structure
urls = [('http://ip.42.pl/raw', False, None),
('http://httpbin.org/ip', True, 'origin'),
('http://jsonip.com', True, 'ip'),
urls = [('https://ip.42.pl/raw', False, None),
('https://httpbin.org/ip', True, 'origin'),
('https://jsonip.com', True, 'ip'),
('https://api.ipify.org/?format=json', True, 'ip')]