envoy-proxy 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +26 -19
- data/lib/envoy/client/option_parser.rb +1 -1
- data/lib/envoy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd7f202c771ae56bbbdd8161f8270e7151589ce2
|
|
4
|
+
data.tar.gz: 4752dc703a61c4b7df5ce00fbc8ce834b293cf2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 765f8cb6b42a5f454928758dfe892f8e66fc99ba856218c2c7258b34842726a0f10192f4c1c091241bdbd8a2497cc3cf9f3e8ddcabd5fcdb3f1dee74c983915d
|
|
7
|
+
data.tar.gz: ede7a398b0e28305f784c7f48d4d6099ec674c3784b91764bf1a2caa1dec9d8812cb85ad3f49504124577eb85f7fe3262107f82bb09ac4762f4ff0ad7ef25a32
|
data/README.md
CHANGED
|
@@ -34,32 +34,39 @@ The ZONE specifies the domain name suffix.
|
|
|
34
34
|
|
|
35
35
|
The client will search up from the current directory for a .envoy file. If it
|
|
36
36
|
exists, it must be a YAML file containing either one hash of command line
|
|
37
|
-
options, or an array of multiple options.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
37
|
+
options, or an array of multiple options. If an array is passed, the client
|
|
38
|
+
will proxy multiple local services.
|
|
39
|
+
|
|
40
|
+
This file can also contain settings which will execute a command if a local
|
|
41
|
+
connection is refused.
|
|
42
|
+
|
|
43
|
+
Option Description Default
|
|
44
|
+
---------------------------------------------------------------------------
|
|
45
|
+
host The domain name prefix None
|
|
46
|
+
local_port The local port to use None
|
|
47
|
+
local_host The local host to use 127.0.0.1
|
|
48
|
+
server_host The server host to use p45.eu
|
|
49
|
+
server_port The server port to use 8282
|
|
50
|
+
tls Use TLS in the server connections false
|
|
51
|
+
verbose Be noisy false
|
|
52
|
+
command A command to run if a local connection is refused None
|
|
53
|
+
delay Number of seconds to wait before reconnecting, 1
|
|
54
|
+
after starting a command
|
|
55
|
+
dir A directory to change to None
|
|
52
56
|
|
|
53
57
|
If no host is specified, a random one is selected by the server.
|
|
54
58
|
If no local port is specified, a random one is selected by the client.
|
|
55
59
|
The command is processed for % substitions against the configuration hash,
|
|
56
60
|
including any randomly selected local port.
|
|
57
61
|
|
|
58
|
-
e.g. To start a rails
|
|
62
|
+
e.g. To start a set of rails apps, you might use this configuration:
|
|
59
63
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
- host: backend
|
|
65
|
+
dir: ~/apps/backend
|
|
66
|
+
command: rails s -p %{local_port}
|
|
67
|
+
- host: frontend
|
|
68
|
+
dir: ~/apps/frontend
|
|
69
|
+
command: rails s -p %{local_port}
|
|
63
70
|
|
|
64
71
|
You can still specify a constant local port, if you prefer that.
|
|
65
72
|
|
data/lib/envoy/version.rb
CHANGED