Skip to content

Commit 2d80d47

Browse files
author
Exploding Labs Bot
committed
Update site from docs source repo
1 parent 580d3f7 commit 2d80d47

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

superstack/bluegreen/index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -463,18 +463,18 @@
463463
</li>
464464

465465
<li class="md-nav__item">
466-
<a href="#set-the-caddy-container-name-explicitly" class="md-nav__link">
466+
<a href="#serve-http-only-in-the-stacks" class="md-nav__link">
467467
<span class="md-ellipsis">
468-
Set the Caddy container name explicitly
468+
Serve HTTP-only in the stacks
469469
</span>
470470
</a>
471471

472472
</li>
473473

474474
<li class="md-nav__item">
475-
<a href="#serve-http-only-in-the-stacks" class="md-nav__link">
475+
<a href="#set-the-caddy-container-name-explicitly" class="md-nav__link">
476476
<span class="md-ellipsis">
477-
Serve http-only in the stacks
477+
Set the Caddy container name explicitly
478478
</span>
479479
</a>
480480

@@ -622,18 +622,18 @@
622622
</li>
623623

624624
<li class="md-nav__item">
625-
<a href="#set-the-caddy-container-name-explicitly" class="md-nav__link">
625+
<a href="#serve-http-only-in-the-stacks" class="md-nav__link">
626626
<span class="md-ellipsis">
627-
Set the Caddy container name explicitly
627+
Serve HTTP-only in the stacks
628628
</span>
629629
</a>
630630

631631
</li>
632632

633633
<li class="md-nav__item">
634-
<a href="#serve-http-only-in-the-stacks" class="md-nav__link">
634+
<a href="#set-the-caddy-container-name-explicitly" class="md-nav__link">
635635
<span class="md-ellipsis">
636-
Serve http-only in the stacks
636+
Set the Caddy container name explicitly
637637
</span>
638638
</a>
639639

@@ -737,18 +737,18 @@ <h3 id="remove-exposed-ports">Remove exposed ports</h3>
737737
<p>Remove the <code>caddy</code> service's <code>ports:</code> section in <code>compose.yaml</code>.</p>
738738
<p>We'll no longer expose ports in the stacks, instead a simple "front proxy" will
739739
sit in front of the two stacks, proxying to the active stack.</p>
740+
<h3 id="serve-http-only-in-the-stacks">Serve HTTP-only in the stacks</h3>
741+
<p>Set <code>CADDY_SITE_ADDRESS</code> to only <code>:80</code>, removing <code>:443</code> (leaving TLS
742+
termination to the front proxy):</p>
743+
<div class="highlight"><span class="filename">compose.yaml</span><pre><span></span><code><span class="nt">caddy</span><span class="p">:</span>
744+
<span class="w"> </span><span class="nt">environment</span><span class="p">:</span>
745+
<span class="w"> </span><span class="nt">CADDY_SITE_ADDRESS</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">:80</span>
746+
</code></pre></div>
740747
<h3 id="set-the-caddy-container-name-explicitly">Set the Caddy container name explicitly</h3>
741748
<p>This allows us to switch between the two stacks:</p>
742749
<div class="highlight"><span class="filename">compose.yaml</span><pre><span></span><code><span class="nt">caddy</span><span class="p">:</span>
743750
<span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">${STACK_NAME}_caddy</span>
744751
</code></pre></div>
745-
<h3 id="serve-http-only-in-the-stacks">Serve http-only in the stacks</h3>
746-
<p>Set <code>CADDY_SITE_ADDRESS</code> to only <code>:80</code> (leaving TLS termination to the front
747-
proxy):</p>
748-
<div class="highlight"><span class="filename">compose.yaml</span><pre><span></span><code><span class="nt">caddy</span><span class="p">:</span>
749-
<span class="w"> </span><span class="nt">environment</span><span class="p">:</span>
750-
<span class="w"> </span><span class="nt">CADDY_SITE_ADDRESS</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">:80</span>
751-
</code></pre></div>
752752
<h3 id="move-postgres-to-its-own-unique-container">Move Postgres to its own unique container</h3>
753753
<p>Running two separate PostgreSQL instances and having them both simultaneously
754754
access the same data directory within that shared volume is not recommended and

0 commit comments

Comments
 (0)