summaryrefslogtreecommitdiff
path: root/nginx.html
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.html')
-rw-r--r--nginx.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/nginx.html b/nginx.html
index 954c4aa..d0a4cfc 100644
--- a/nginx.html
+++ b/nginx.html
@@ -13,7 +13,7 @@
<nav></nav>
<main>
<p>At this point, we should have a domain name and a server and the domain name should direct to the IP address of the server with DNS records.
- As I said in previous articles, the instructions I will give will be for <strong>Debian 10</strong>.
+ As I said in previous articles, the instructions I will give will be for <strong>Debian</strong>.
In this article, other distributions might work a little differently.</p>
<h2>Logging in to the server</h2>
@@ -48,7 +48,7 @@
</p>
</aside>
- <h2>Installing the Webserver: NGINX</h2>
+ <h2>Installing the Webserver: Nginx</h2>
<p>
If the program runs without an error, <code>ssh</code> has now logged you into your server.
@@ -217,6 +217,16 @@ Port 80 is the canonical webserver port, while 443 is the port used for encrypte
We will certainly need that for the next page.
</p>
+<h2>Nginx security hint</h2>
+
+<p>By default, Nginx and most other webservers automatically show their version number on error pages.
+It's a good idea to disable this from happening because if an exploit comes out for your server software, someone could exploit it. Open the main Nginx config file <code>/etc/nginx/nginx.conf</code> and find the line <code># server_tokens off;</code>. Uncomment it, and reload Nginx.
+</p>
+
+<p>
+Remember to <a href="maintenance.html#update">keep your server software up to date</a> to get the latest security fixes!
+</p>
+
<h2>We now have running website!</h2>
<p>
@@ -230,9 +240,10 @@ Note the "Not secure" notification.
The next brief step is securing encrypted connections to your website.
</p>
-<span class=next><a href="certbot.html">Next: Enabling Encrypted Connections</a></span>
+ <span class=prev><a href="dns.html">Previous: Set up DNS.</a></span>
+ <span class=next><a href="certbot.html">Next: Enabling Encrypted Connections.</a></span>
</main>
- <footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><a href="index.html"><li><img src="pix/chad.gif" alt="chad"></li></a><a href="rss.xml"><li><img src="pix/rss.svg" alt="RSS"></li></a><a href="pix/btc.png"><li><img src="pix/btc.svg" alt="BTC"></li></a><a href="pix/xmr.png"><li><img src="pix/xmr.svg" alt="XMR"></li></a><a href="https://github.com/lukesmithxyz/landchad"><li><img src="pix/git.svg" alt="Github"></li></a></footer>
+ <footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><a href="index.html"><li><img src="pix/chad.gif" alt="chad"></li></a><a href="rss.xml"><li><img src="pix/rss.svg" alt="RSS"></li></a><a href="donate-bitcoin.html"><li><img src="pix/btc.svg" alt="BTC"></li></a><a href="donate-monero.html"><li><img src="pix/xmr.svg" alt="XMR"></li></a><a href="https://github.com/lukesmithxyz/landchad"><li><img src="pix/git.svg" alt="Github"></li></a></footer>
</body>
</html>