summaryrefslogtreecommitdiff
path: root/src/blog
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-08-20 03:58:30 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-08-20 03:58:30 -0600
commit1aebf76c85ecadda9241bdf515750caa8164213c (patch)
tree4b93e2a219ef40fb45072537ba5f52c2046ef424 /src/blog
parent758ea8188a9a35d73ebfb1b973462ffaf00c5757 (diff)
fix links in privatebin, built site updated
Diffstat (limited to 'src/blog')
-rw-r--r--src/blog/a/pastebin_alt_with_privatebin.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/blog/a/pastebin_alt_with_privatebin.md b/src/blog/a/pastebin_alt_with_privatebin.md
index 643b753..35f28df 100644
--- a/src/blog/a/pastebin_alt_with_privatebin.md
+++ b/src/blog/a/pastebin_alt_with_privatebin.md
@@ -10,7 +10,7 @@ tags: server
I learned about PrivateBin a few weeks back and ever since I've been looking into installing it, along with a URL shortener (a service I wanted to self host since forever). It took me a while as I ran into some problems while experimenting and documenting all the necessary bits in here.
-My setup is exposed to the public, and as always is heavily based on previous entries as described in [Prerequisites](#Prerequisites). Descriptions on setting up MariaDB (preferred MySQL replacement for Arch) and PHP are written in this entry as this is the first time I've needed them.
+My setup is exposed to the public, and as always is heavily based on previous entries as described in [Prerequisites](#prerequisites). Descriptions on setting up MariaDB (preferred MySQL replacement for Arch) and PHP are written in this entry as this is the first time I've needed them.
Everything here is performed in ==arch btw== and all commands should be run as root unless stated otherwise.
@@ -66,7 +66,7 @@ bind-address = localhost
## Create users/databases
-To use `mariadb` simply run the command and it will try to login with the corresponding linux user running it, for example for root. Else the general login command is:
+To use `mariadb` simply run the command and it will try to login with the corresponding linux user running it. The general login command is:
```sh
mariadb -u <username> -p <database_name>
@@ -160,7 +160,7 @@ Install from the AUR with `yay`:
yay -S yourls
```
-Create a new user and database as described in [MariaDB: Create users/databases](#Create users/databases).
+Create a new user and database as described in [MariaDB: Create users/databases](#create-usersdatabases).
## Configuration
@@ -199,7 +199,7 @@ server {
}
```
-Make sure the following header is included in the `php`'s nginx location block described in [YOURLS: Nginx](#Nginx):
+Make sure the following header is included in the `php`'s `nginx` location block described in [YOURLS: Nginx](#nginx):
```nginx
add_header Access-Control-Allow-Origin $http_origin;
@@ -229,7 +229,7 @@ Install from the AUR with `yay`:
yay -S privatebin
```
-Create a new user and database as described in [MariaDB: Create users/databases](#Create users/databases).
+Create a new user and database as described in [MariaDB: Create users/databases](#create-usersdatabases).
## Configuration