Skip to content
Snippets Groups Projects
Commit 0ac2065e authored by Marie's avatar Marie 🚅
Browse files

Merge branch 'fix/lint' into 'main'

fix linting on mcaptcha.md

See merge request !35
parents 59dd82f2 8d6b0253
No related branches found
No related tags found
1 merge request!35fix linting on mcaptcha.md
Pipeline #1443 passed with stages
in 43 seconds
......@@ -4,7 +4,7 @@ weight: 3300
toc: true
---
mCaptcha offers a self-hosted CAPTCHA, which is already featured in docker-compose so the installation is pretty simple.
mCaptcha offers a self-hosted CAPTCHA, which is already featured in docker-compose so the installation is pretty simple.
## Docker setup
......@@ -36,7 +36,7 @@ services:
<...>
```
Of course, here you want to change `example.tld` to the domain that'll be hosting the mCaptcha interface. You can also comment this option out if you wish to setup on `localhost`.
Of course, here you want to change `example.tld` to the domain that'll be hosting the mCaptcha interface. You can also comment this option out if you wish to setup on `localhost`.
### Nginx Configuration
......@@ -44,7 +44,7 @@ We also need to configure Nginx to proxy our service to the web as we do with Sh
Borrowing from Misskey, this is the config I use for mCaptcha:
```
```nginx
server {
server_name example.tld;
listen 80;
......@@ -137,5 +137,3 @@ After saving, test the captcha in the "preview" widget, but also be sure to chec
### Finishing Touches
As you probably don't want someone else creating an account on your captcha service, now's the time to go back to your `docker-compose.yml` and set `MCAPTCHA_allow_registration: false`. Otherwise, you can leave it.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment