From a12350960c36f3f4079b13964cc41a1b522a60f3 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Thu, 4 Mar 2021 14:50:49 +0800 Subject: [PATCH] Updated Additional Configurations (markdown) --- Additional-Configurations.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Additional-Configurations.md b/Additional-Configurations.md index 84a6397..c1203b8 100644 --- a/Additional-Configurations.md +++ b/Additional-Configurations.md @@ -1,6 +1,6 @@ -### Reverse Proxy +## Reverse Proxy -#### Example Apache Config +### Example Apache Config ```apache @@ -14,7 +14,7 @@ ``` -#### Example Nginx Config +### Example Nginx Config ```nginx location / { @@ -25,7 +25,7 @@ location / { } ``` -### Systemd Service +## Systemd Service You can follow the steps below to run Mango as a systemd service @@ -50,7 +50,7 @@ WantedBy=default.target 3. Enable the service by running `systemctl --user enable mango.service`. 4. Now you can start Mango using `systemctl --user start mango`. -### Base URL +## Base URL You should customize the `base_url` setting in the config file if you wish to serve Mango under a base URL. For example, if you want to access Mango at `domain.tdl/mango`, set `base_url` to `/mango` and configure your web server accordingly. If you are using Nginx, you can use @@ -63,13 +63,13 @@ location /mango/ { } ``` -### Environment Variables +## Environment Variables - `HTTP_PROXY` and `HTTPS_PROXY`: Specify the HTTP/HTTPS proxies to use when making out-going requests (e.g., when downloading from MangaDex) - `NO_PROXY`: Specify a comma-separated list of hosts that should be connected directly without using proxies - `DISABLE_SSL_VERIFICATION`: When set to `1` or `true`, disable the SSL verification for all out-going requests -### MangaDex Rename Rules +## MangaDex Rename Rules You can customize the naming rules of manga and chapters downloaded from MangaDex using the `chapter_rename_rule` and `manga_rename_rule` fields in the `mangadex` config section. Here we explain the terminologies.