Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

[nginx-ingress-controller]: Add support for geoip in stats #1102

Merged
merged 1 commit into from
May 31, 2016

Conversation

aledbf
Copy link
Contributor

@aledbf aledbf commented May 30, 2016

fixes #1101

@@ -16,7 +16,13 @@ events {
}

http {
{{ if $cfg.enableVtsStatus}}vhost_traffic_status_zone shared:vhost_traffic_status:{{ $cfg.vtsStatusZoneSize }};{{ end }}
geoip_country /etc/nginx/GeoIP.dat;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the REAMDE with an example of who this is useful, or some eager newbie will think it's a dead module and optimize it out of the build for sure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@bprashanth
Copy link

LGTM but for the one comment

@bprashanth bprashanth merged commit c1c3cda into kubernetes-retired:master May 31, 2016
@aledbf aledbf deleted the stats-by-country branch May 31, 2016 16:22
@Karthickarumugam
Copy link

How to get country code in log_format?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nginx Ingress Controller - Support for geoip
4 participants