Skip to content

Commit 9f7c6c3

Browse files
committed
Adjust b/g doc
1 parent 4e14cbc commit 9f7c6c3

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

docs/bluegreen.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,10 @@ On the server, create a simple `Caddyfile`:
4141
api.myapp.com {
4242
reverse_proxy blue_caddy:80
4343
}
44-
45-
# Optionally point a second hostname to the idle stack for testing
46-
next.myapp.com {
47-
reverse_proxy green_caddy:80
48-
}
4944
```
5045

46+
Optionally, point a second hostname to the idle stack for testing.
47+
5148
The front proxy manages TLS, so give it a persistent volume for certificates:
5249

5350
```sh
@@ -100,16 +97,12 @@ different containers, volumes and networks than the `blue` stack.
10097

10198
### Flip traffic
10299

103-
Point traffic to the `green` stack, and make `blue` idle:
100+
Point traffic to the `green` stack:
104101

105102
```caddyfile title="Caddyfile"
106103
api.myapp.com {
107104
reverse_proxy green_caddy:80
108105
}
109-
110-
next.myapp.com {
111-
reverse_proxy blue_caddy:80
112-
}
113106
```
114107

115108
Reload the front proxy's config:

0 commit comments

Comments
 (0)