From 424827d8130fe7aa42e1381e42262e1559c32acb Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 24 Jun 2016 23:07:44 -0400 Subject: [PATCH] Move ports management section to new section This clarifies what was added when, and also sets a bit of a divide between the sections. [ci skip] --- docs/proxy.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/proxy.md b/docs/proxy.md index cd5363914..57d685394 100644 --- a/docs/proxy.md +++ b/docs/proxy.md @@ -5,14 +5,10 @@ As of dokku 0.5.0, the proxy functionality has been decoupled from the nginx-vhosts plugin into the proxy plugin. In the future this will allow other proxy software (HAproxy for example) to be used instead of nginx. ``` -proxy Show proxy settings for app -proxy:disable Disable proxy for app -proxy:enable Enable proxy for app -proxy:ports List proxy port mappings for app -proxy:ports-add :: [::...] Set proxy port mappings for app -proxy:ports-clear Clear all proxy port mappings for app -proxy:ports-remove [|::...] Unset proxy port mappings for app -proxy:set Set proxy type for app +proxy Show proxy settings for app +proxy:disable Disable proxy for app +proxy:enable Enable proxy for app +proxy:set Set proxy type for app ``` ## Container network interface binding @@ -36,9 +32,17 @@ CONTAINER ID IMAGE COMMAND CREATED d6499edb0edb dokku/node-js-app:latest "/bin/bash -c '/star About a minute ago Up About a minute 0.0.0.0:49153->5000/tcp node-js-app.web.1 ``` -> New as of 0.6.0 ## Proxy port mapping +> New as of 0.6.0 + +``` +proxy:ports List proxy port mappings for app +proxy:ports-add :: [::...] Set proxy port mappings for app +proxy:ports-clear Clear all proxy port mappings for app +proxy:ports-remove [|::...] Unset proxy port mappings for app +``` + You can now configure host -> container port mappings with the `proxy:ports-*` commands. ```shell