Skip to content

Commit 9943627

Browse files
committed
Update README
1 parent fec8e56 commit 9943627

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,28 @@ More ingress features:
7676
- Subdomain-based routing
7777

7878
```bash
79+
# Make your VM if not already present
80+
hypeman run --name my-app nginx:alpine
81+
7982
# This requires configuring the Hypeman server with DNS credentials
80-
hypeman ingress create --name my-tls-ingress my-app --hostname example.com -p 80 --host-port 7443 --tls
83+
# Change --hostname to a domain you own
84+
hypeman ingress create --name my-tls-ingress my-app --hostname hello.hypeman-development.com -p 80 --host-port 7443 --tls
85+
86+
# Curl through your TLS-terminating reverse proxy configuration
87+
curl \
88+
--resolve hello.hypeman-development.com:7443:127.0.0.1 \
89+
https://hello.hypeman-development.com:7443
8190

8291
# OR... Ingress also supports subdomain-based routing
83-
hypeman ingress create --name my-tls-subdomain-ingress '{instance}' --hostname '{instance}.example.com' -p 80 --host-port 8443 --tls
92+
hypeman ingress create --name my-tls-subdomain-ingress '{instance}' --hostname '{instance}.hypeman-development.com' -p 80 --host-port 8443 --tls
8493

8594
# Curling through the subdomain-based routing
86-
curl --header "Host: my-app.example.com" https://127.0.0.1:8443
95+
curl \
96+
--resolve my-app.hypeman-development.com:8443:127.0.0.1 \
97+
https://my-app.hypeman-development.com:8443
98+
99+
# Delete all ingress
100+
hypeman ingress delete --all
87101
```
88102

89103
More logging features:

0 commit comments

Comments
 (0)