File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,10 @@ On the server, create a simple `Caddyfile`:
4141api.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+
5148The 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"
106103api.myapp.com {
107104 reverse_proxy green_caddy:80
108105}
109-
110- next.myapp.com {
111- reverse_proxy blue_caddy:80
112- }
113106` ` `
114107
115108Reload the front proxy's config :
You can’t perform that action at this time.
0 commit comments