From a148bf6ad70f495edd3acbbe5abf78fb2e949d60 Mon Sep 17 00:00:00 2001 From: Alexandre Fiori Date: Thu, 17 Mar 2016 11:22:28 -0400 Subject: [PATCH] Fix default listen adress, update version --- apiserver/config.go | 2 +- apiserver/main.go | 2 +- cmd/freegeoip/ansible-playbook/freegeoip.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apiserver/config.go b/apiserver/config.go index 403399f..7fd3ec0 100644 --- a/apiserver/config.go +++ b/apiserver/config.go @@ -48,7 +48,7 @@ type Config struct { // NewConfig creates and initializes a new Config with default values. func NewConfig() *Config { return &Config{ - ServerAddr: "localhost:8080", + ServerAddr: ":8080", TLSCertFile: "cert.pem", TLSKeyFile: "key.pem", APIPrefix: "/", diff --git a/apiserver/main.go b/apiserver/main.go index 2febb8e..a96a933 100644 --- a/apiserver/main.go +++ b/apiserver/main.go @@ -19,7 +19,7 @@ import ( ) // Version tag. -var Version = "3.1.3" +var Version = "3.1.4" // Run is the entrypoint for the freegeoip server. func Run() { diff --git a/cmd/freegeoip/ansible-playbook/freegeoip.yml b/cmd/freegeoip/ansible-playbook/freegeoip.yml index 0f3ccfe..91683c2 100644 --- a/cmd/freegeoip/ansible-playbook/freegeoip.yml +++ b/cmd/freegeoip/ansible-playbook/freegeoip.yml @@ -10,7 +10,7 @@ - redis vars: nodeexporter_url: http://github.com/prometheus/node_exporter/releases/download/0.11.0/node_exporter-0.11.0.linux-amd64.tar.gz - freegeoip_url: https://github.com/fiorix/freegeoip/releases/download/v3.1.3/freegeoip-3.1.3-linux-amd64.tar.gz + freegeoip_url: https://github.com/fiorix/freegeoip/releases/download/v3.1.4/freegeoip-3.1.4-linux-amd64.tar.gz freegeoip_params: - -http=:80 - -https=:443