add-proxy
Add an nginx proxy entry on a bastion.
Syntax
rumi cloud aws add-proxy --profile <profile> --name <name> --key-pair <key-pair> --listen-port <port> --host-name <host> --host-port <port> [options]Options
Option
Short
Description
Default
--profile
-p
AWS profile to use
Required
--name
-n
Name of the environment
Required
--key-pair
-k
Network key pair
Required
--listen-port
-l
Port on which nginx should listen for inbound traffic
Required
--host-name
-t
Target host to proxy traffic to
Required
--host-port
-o
Port on the target host to proxy traffic to
Required
--server-name
-s
Nginx server name
_ (catch-all)
--region
-r
AWS region
us-east-1
Example
# Proxy all traffic on port 7443 to the health monitor service
rumi cloud aws add-proxy \
--profile my-aws-profile \
--name my-cloud \
--key-pair my-key \
--listen-port 7443 \
--host-name healthmonitor.rumi.local \
--host-port 7777
# Proxy with a specific server name
rumi cloud aws add-proxy \
--profile my-aws-profile \
--name my-cloud \
--key-pair my-key \
--listen-port 7443 \
--host-name healthmonitor.rumi.local \
--host-port 7777 \
--server-name myapp-health.example.comSee Also
Last updated

