-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simpler docs #921
simpler docs #921
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c445af5
to
6d211d7
Compare
fee2c36
to
93d4309
Compare
1431f29
to
acb6678
Compare
31dfc1f
to
ff6b484
Compare
bbfa3d8
to
6fcd1e9
Compare
6fcd1e9
to
5e6b2f3
Compare
5e6b2f3
to
f9be8b6
Compare
@@ -621,4 +619,237 @@ Edges automatically create an `edge` label, for example: `edge=edghts_2gYaK9XAVa | |||
|
|||
::: | |||
|
|||
<AgentConfigurations /> | |||
## Agent Configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could try to get clever and piece out just the parts that are shared (now that v2 and v3 have diverged), but I instead copy-pasted and updated just the differences for v3.
This seems like a good call since:
- It's easier to change without causing regressions with the v2 fields (if were tried to share the markup)
- We're going to update these sections further, which makes anything that is "easy to throw away / delete" a good choice in my mind.
- It's grug brain and simple.
67b1a0c
to
0f4b05e
Compare
7fc2816
to
ec12181
Compare
@@ -506,7 +181,7 @@ You can configure a single ngrok agent to start multiple endpoints to different | |||
| [`policy.outbound.actions.type`](/docs/http/traffic-policy/actions/index.mdx) | String | `policy` has been renamed to `traffic_policy` in agent version 3.14.0. | | |||
| [`policy.outbound.actions.config`](/docs/http/traffic-policy/actions/index.mdx) | custom | `policy` has been renamed to `traffic_policy` in agent version 3.14.0. | | |||
| `proto` | `http` | The endpoint protocol name. This defines the type of endpoint you would like to start. | | |||
| `proxy_proto` | String | The version of [PROXY protocol](https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) to use with this endpoint, empty if not using. Example values are 1 or 2. | | |||
| `proxy_protocol` | String | The version of [PROXY protocol](https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) to use with this endpoint, empty if not using. Example values are 1 or 2. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed naming
ec12181
to
a10bc9f
Compare
a10bc9f
to
0b5e22d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix the "check out"
docs/agent/config/v3.mdx
Outdated
# | ||
# List of TLS endpoint configuration fields: | ||
# https://ngrok.com/docs/agent/config/v3/#tls-configuration | ||
### Endpoints with a traffic policy (file path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine if you don't change it but Endpoints -> Endpoint (there's just one!)
Improved the docs around v3 config to:
agent:
agent configurations
, but are instead top level fields (eg.version
)agent
There's still a lot here to look over, so an extra pair of eyes is always nice!