summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2021-10-29 19:30:41 -0400
committermjfernez <mjf@mjfer.net>2021-10-29 19:30:41 -0400
commit97923657b206bfe8755590c6e4df3c06da521420 (patch)
tree57aa22f939b9e4140cd9f028ad97577374e991ab
parentb49f2d2131c87c9d0e8b0eae4fc580fd9efc6832 (diff)
downloadsite-files-97923657b206bfe8755590c6e4df3c06da521420.tar.gz
Fix code tags
-rw-r--r--.md/tutorials/how-to-host-a-tor-hidden-service.md6
-rw-r--r--.md/tutorials/how-to-make-this-site.md12
2 files changed, 9 insertions, 9 deletions
diff --git a/.md/tutorials/how-to-host-a-tor-hidden-service.md b/.md/tutorials/how-to-host-a-tor-hidden-service.md
index 1fa810a..a57e710 100644
--- a/.md/tutorials/how-to-host-a-tor-hidden-service.md
+++ b/.md/tutorials/how-to-host-a-tor-hidden-service.md
@@ -48,7 +48,7 @@ $ sudo systemctl enable tor.service
### Configure Tor
-You'll need to edit the file `/etc/tor/torrc` before your service can
+You'll need to edit the file "/etc/tor/torrc" before your service can
be available over Tor. Use vim, nano, or whatever you like to edit
the file (as root!) and search for the following lines:
@@ -104,10 +104,10 @@ $ python3 -m http.server
You'll see the server is being hosted on port 8000, which is what we
chose in the config file earlier. Just leave it running, or send it to
-the background with Ctrl+Z and run `bg`.
+the background with Ctrl+Z and run "bg".
And that's it! You are now the proud owner of a tor hidden service. Take
-the hostname you copied down before and add `.onion` to the end and give
+the hostname you copied down before and add ".onion" to the end and give
it to your friends so they can browse the files in the directory through
the Tor Browser.
diff --git a/.md/tutorials/how-to-make-this-site.md b/.md/tutorials/how-to-make-this-site.md
index e69c9bc..bbfe88c 100644
--- a/.md/tutorials/how-to-make-this-site.md
+++ b/.md/tutorials/how-to-make-this-site.md
@@ -86,7 +86,7 @@ follow the set up guide
[here](https://www.liquidweb.com/kb/how-to-install-apache-on-a-windows-server/).
If you're on Linux, you probably already have it installed.
-Find the configuration file in `sites-available/default` (on
+Find the configuration file in "sites-available/default" (on
windows, this may be led by C:\Program Files\Apache Software
Foundation\Apache2.4\ ). You'll see something like the following:
@@ -113,9 +113,9 @@ means.
But do note the directory set on "DocumentRoot," which may differ for
you. This is where the web server looks for files and folders.
So let's put some stuff there! Put whatever, a picture, a text file.
-Run the server, then go to your web browser and type: `http://localhost`.
+Run the server, then go to your web browser and type: "http://localhost".
You'll find a directory with your files in it! And you can access them
-at `http://localhost/filename.extension`
+at "http://localhost/filename.extension"
The problem is, only you and others on your home network can visit your
site right now.
@@ -136,8 +136,8 @@ routers will have some kind of steps similar to this:
- forward to address/device: your device's local ip
- forward to/destination port: 80
-You can get your device's local ip by typing `ipconfig` (Windows) or `ip
-a` (Linux). Typically it is listed first and will start with "192.168" or
+You can get your device's local ip by typing "ipconfig" (Windows) or "ip
+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:
@@ -325,7 +325,7 @@ Fortunately, this is now much easier than is used to be thanks to
as a free certificate authority, which allows you to generate signed
certificates that are recognized by every web browser in the world. The
tool they recommend, [certbot](https://certbot.eff.org/) is painless to
-install. I've rarely had to do much more than `certbot certonly` and
+install. I've rarely had to do much more than "certbot certonly" and
follow the prompts to get a certificate. Once you've obtained one, add
it to
[apache](https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html)