Gogeta is a dynamic reverse proxy which configuration is based on etcd. It provides real time dynamic reconfiguration of routes without having to restart the process.
It is part of the nuxeo.io infrastructure.
It is basically an HTTP cluster router that holds its configuration in etcd. Default behavior is to use the IoEtcdResolver :
- client asks for mycustomdomain.com
- proxy looks at
/nuxeo.io/domains/mycustomdomain.com/[type,value]
- if type is io container we look for
/nuxeo.io/envs/{value}/[ip,port]
- the request is proxied to
http://{ip}:{port}/
- if type is uri
- the requestion is proxies to the value
/nuxeo.io/domains/mycustomdomain.com/value
It also provides to custom resolvers :
- EnvResolver : it serves
http://{envid}.local/ to the host referenced at
/nuxeo.io/envs/{envid}/[ip,port]` - DummyResolver : it always proxies to
http://localhost:8080/
Several parameters allow to configure the way the proxy behave :
domainDir
allows to select the prefix of the key where it watches for domainenvDir
allows to select the prefix of the key where it watches for environmentsetcdAddress
specify the address of theetcd
serverport
port to listenresolverType
: choose the resolver to useEnv
: EnvResolverDummy
: DummyResolver- by default : IoEtcd
We are glad to welcome new developers on this initiative, and even simple usage feedback is great.
- Ask your questions on Nuxeo Answers
- Report issues on this github repository (see issues link on the right)
- Contribute: Send pull requests!
Nuxeo provides a modular, extensible Java-based open source software platform for enterprise content management, and packaged applications for document management, digital asset management and case management.
Designed by developers for developers, the Nuxeo platform offers a modern architecture, a powerful plug-in model and extensive packaging capabilities for building content applications.
More information on: http://www.nuxeo.com/