This commit is contained in:
Joshua Seigler 2025-06-15 16:56:59 -04:00
parent bee93bd9aa
commit 4513451823
42 changed files with 78 additions and 45 deletions

View file

@ -64,15 +64,15 @@
In case you dont have a basic server setup routine yet, this is a good start:
</p>
<ul>
<li>Change the default root password</li>
<li>Change the default root password.</li>
<li>
Create a new user, add it to the sudo group. In my examples below the user
is <code>joshua</code>.
Create a new user and add it to the sudo group. In my examples below the
user is <code>joshua</code>.
</li>
<li>
Use <code>ssh-copy-id</code> to install your ssl pubkey for easier login
Use <code>ssh-copy-id</code> to install your ssl pubkey for easier login.
</li>
<li>Disable/lock roots password</li>
<li>Disable/lock roots password.</li>
<li>
Disable root login over ssh and change the SSL port number. Pick a new port
lower than 1024.
@ -102,9 +102,9 @@
<a href="https://caddyserver.com/docs/install" target="_blank" rel="noopener"
>official instructions</a
>.<br />
Here is the Caddyfile I made - you will need to change the domains names and
the email. Email could be removed, but it is recommended so SSL certificate
issues can contact you if there is a problem with your certificates.
Here is the Caddyfile I made—you will need to change the domains names and the
email. Email could be removed, but it is recommended so SSL certificate
issuers can contact you if there is a problem with your certificates.
</p>
<p><code>/etc/caddy/Caddyfile</code></p>
<pre