-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: write documentation for release 0.11.0 (#423)
- Loading branch information
1 parent
094b08d
commit 4db02d5
Showing
11 changed files
with
68 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
description: "Launch a reverse proxy for tracing requests in to your EC2" | ||
icon: material/shoe-print | ||
status: new | ||
--- | ||
|
||
# Tracing Requests with a Reverse Proxy | ||
|
||
To trace requests sent to your broadcasted EC2, `dns53` comes bundled with an internal reverse proxy. To enable proxying: | ||
|
||
```{ .sh .no-select } | ||
dns53 --proxy | ||
``` | ||
|
||
Once enabled, set the required environment variables to trace both `HTTP` and `HTTPS` requests. It is advised not to proxy any requests to IMDS on your EC2. | ||
|
||
```{ .sh .no-select } | ||
export HTTP_PROXY=http://localhost:10080 | ||
export HTTPS_PROXY=http://localhost:10080 | ||
export NO_PROXY=169.254.169.254 | ||
``` | ||
|
||
```{ .sh .no-select } | ||
curl http://httpbin.org/headers | ||
``` | ||
|
||
```{ .sh .no-select } | ||
curl https://httpbin.org/ip -k | ||
``` | ||
|
||
If you do not wish to set any of these environment variables, your preferred CLI tool should support request proxying using a dedicated flag. For `curl`, that is `-x`. | ||
|
||
## Changing the proxy port | ||
|
||
Feel free to change the default proxy port of `:10080` by using the `proxy-port` flag: | ||
|
||
```{ .sh .no-select } | ||
dns53 --proxy --proxy-port 10888 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
# dns53 | ||
# DNS 53 | ||
|
||
Dynamic DNS within Amazon Route 53. Expose your EC2 quickly, easily, and privately within a Route 53 Private Hosted Zone (PHZ). | ||
|
||
Easily collaborate with a colleague by exposing your EC2 within a team VPC. You could even hook up a locally running application to a local k3d cluster using an ExternalName service during development. Once your EC2 is exposed, control how it is accessed through your EC2 security groups. | ||
|
||
Written in Go, `dns53` is incredibly small and easy to install. | ||
|
||
<div> | ||
<video controls> | ||
<source src="./static/dns53.webm" type="video/webm"> | ||
<source src="./static/dns53.mp4" type="video/mp4"> | ||
</video> | ||
<sub>recorded using <a href="https://github.com/charmbracelet/vhs" target="_blank">VHS</a> 💜</sub> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters