Public | Automated Build

Last pushed: a year ago
Short Description
HAProxy configuration for mygreenlife.info.
Full Description

haproxy.mygreenlife.info

HAProxy configuration for mygreenlife.info:
http://blog.hypriot.com/post/docker-compose-nodejs-haproxy/

HTTPS configuration:
https://serversforhackers.com/using-ssl-certificates-with-haproxy

Geolocation based routing
http://agiletesting.blogspot.cz/2014/01/geolocation-detection-with-haproxy.html

3) Use geolocation in ACLs

Use the map_ip function directly in the definition of the ACL, like this:

acl acl_geoloc_cz %[src, map_ip(/etc/haproxy/geolocation.txt)] -m str -i CZ

use_backend www-backend-cz if acl_geoloc_cz

use_backend www-backend-en if !acl_geoloc_cz

https://github.com/haproxytech/haproxy

Docker Pull Command
Owner
petrbazant