Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.
/ chef-telize Public archive

Chef cookbook for an nginx server doing IP geolocation using telize

License

Notifications You must be signed in to change notification settings

controlshift/chef-telize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chef-telize

Chef cookbook for an nginx server doing IP geolocation using telize

Requirements

This cookbook is known to work on Ubuntu 14.04 Trusty, 16.04 Xenial and 20.04 Focal.

Attributes

  • node['telize']['lb_subnet'] When calls come from this IP range, treat the X-Forwarded-For IP address as the client's IP address. Used to make the service work when behind a load balancer. Default value works for some Amazon Web Services ELBs.
  • node['telize']['ipv6?'] When this is true, GeoIP databases that include both IPv6 and IPv4 will be used. When it's false, IPv4-only databases will be used. Default is true.

Usage

Just include telize in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[telize]"
  ]
}

About

Chef cookbook for an nginx server doing IP geolocation using telize

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published