diff options
Diffstat (limited to '.md/tutorials/www/how-to-make-this-site.md')
-rw-r--r-- | .md/tutorials/www/how-to-make-this-site.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.md/tutorials/www/how-to-make-this-site.md b/.md/tutorials/www/how-to-make-this-site.md index 0a2abcc..3a8de92 100644 --- a/.md/tutorials/www/how-to-make-this-site.md +++ b/.md/tutorials/www/how-to-make-this-site.md @@ -95,7 +95,7 @@ There are many web servers out there, but I like nginx since the configuration file is a bit easier to read than others. So let's install it. -``` +```bash $ sudo apt install nginx ``` @@ -135,7 +135,7 @@ can access your C drive at "/mnt/c". So let's say you had a folder of cat pics in "C:\\Users\\username\\Desktop\\cats"; you can copy this into your website by running: -``` +```bash $ cp -vr /mnt/c/Users/username/Desktop/cats /var/www/html ``` @@ -172,7 +172,7 @@ a" (Linux). Typically it is listed first and will start with "192.168" or "10.0" but it depends on the manufacturer. Here's my output at home for example: -``` +```bash 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo @@ -352,7 +352,7 @@ able access your server by name. ## Setup HTTPS and TLS, for some sense of security -A decade of half-though through security advice has convinced everyone +A decade of half-thought through security advice has convinced everyone that HTTPS and *only* HTTPS is secure. This is simply not true. Using HTTP alone doesn't inherently make you insecure and using HTTPS doesn't automatically guarantee the app your communicating with is |