Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix some landing page issues
  • Loading branch information
garbas committed Jun 3, 2020
1 parent b43251e commit ef14976
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions index.tt
Expand Up @@ -151,14 +151,14 @@ pkgs.mkShell {
<div class="span6">
<h2>Minimal docker image</h2>
<p>
Using <code>Dockefile</code> you are responsible to:
Using <code>Dockeffile</code> you are responsible to:
</p>
<ul>
<li>clean up everything that is not needed at runtime</li>
<li>decide how to split into layers for better caching</li>
</ul>
<p>
Writing <code>Dockefile</code> that would produce a minimal image is
Writing <code>Dockeffile</code> that would produce a minimal image is
at best a very error prone process.
</p>
<p>
Expand Down Expand Up @@ -208,10 +208,9 @@ Hello, world</pre>
<h2>Declarative cloud images</h2>
<p>How hard would it be to build and configure a <strong>Amazon EC2</strong> image?</p>
<p>
With the following <code>amazon.nix</code> we defined nginx which is
serving example <code>/var/www</code> folder, having a valid ssl
certificate (via LetsEncrypt) and enabled recommended security
settings.
With the following <code>amazon.nix</code> we configured nginx which is
serving a "Welcome to nginx!" page, having a valid ssl certificate
(via LetsEncrypt) and enabled recommended security settings.
</p>
<pre class="well">
{ pkgs, ...}:
Expand All @@ -227,7 +226,7 @@ Hello, world</pre>
virtualHosts."example.com" = {
enableACME = true;
forceSSL = true;
locations."/".root = "/var/www";
locations."/".root = "${pkgs.nginx}/html";
};
};
}</pre>
Expand Down

0 comments on commit ef14976

Please sign in to comment.