Install latest/stable of origin-routing-machine
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install origin-routing-machine
Don't have snapd? Get set up for snaps.
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
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.