ORM is a reverse proxy configuration generator.
ORM is a reverse proxy configuration generator. It generates configuration for
HAProxy and Varnish to perform HTTP routing and rewriting, backed by a user
friendly YAML config format called ORM rules with built-in collision detection.
For full usage examples, and more information see https://github.com/nsg/origin-routing-machine-snap/blob/master/README.md
Install the stable release:
snap install origin-routing-machine
Enter a writable location:
cd ~/snap/origin-routing-machine/current/
Generate sample configuration to get you started!
origin-routing-machine.generate-samples
Run ORM!
origin-routing-machine --globals-path globals.yml --orm-rules-path 'sample-rules/*.yml' --output-dir .
All done!
ls -l {haproxy,varnish}*
-rw-r--r-- 1 nsg nsg 4439 mar 7 12:52 haproxy.cfg
-rw-r--r-- 1 nsg nsg 6397 mar 7 12:52 varnish.vcl