You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/full-guide.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,19 @@ We will start using "live" mode. You'll understand what it is after try the stre
14
14
docker-compose logs -f crowdsec
15
15
```
16
16
17
-
* In wp-admin, [ensure the bouncer is configured with **live** mode](http://localhost:8050/wp-admin/admin.php?page=crowdsec_plugin) (stream mode disabled).
17
+
* In wp-admin, [ensure the bouncer is configured with **live** mode](http://localhost/wp-admin/admin.php?page=crowdsec_plugin) (stream mode disabled).
18
18
19
19
### Discover the cache system
20
20
21
-
* In a tab, visit the [public home](http://localhost:8050/). You're allowed because LAPI said your IP is clean.
21
+
* In a tab, visit the [public home](http://localhost/). You're allowed because LAPI said your IP is clean.
22
22
23
-
> To avoid latencies when the clean IP browse the website, the bouncer will keep this information in cache for 30 seconds (you can change this value in the [avdanced settings page](http://localhost:8050/wp-admin/admin.php?page=crowdsec_advanced_settings)). In other words, LAPI will not be requested to check this IP for the next 30 seconds.
23
+
> To avoid latencies when the clean IP browse the website, the bouncer will keep this information in cache for 30 seconds (you can change this value in the [avdanced settings page](http://localhost/wp-admin/admin.php?page=crowdsec_advanced_settings)). In other words, LAPI will not be requested to check this IP for the next 30 seconds.
24
24
25
-
* You can call the website as many times as you want, the cache system will take relay during the ban period and so LAPI will not be disturbed. The ban decision will stay in cache for the full ban duration. Then the [public home](http://localhost:8050/) should be available again.
25
+
* You can call the website as many times as you want, the cache system will take relay during the ban period and so LAPI will not be disturbed. The ban decision will stay in cache for the full ban duration. Then the [public home](http://localhost/) should be available again.
26
26
27
27
### Try ban remediation
28
28
29
-
* If you want to skip this delay, feel free to [clear the cache in the wp-admin](http://localhost:8050/wp-admin/admin.php?page=crowdsec_plugin).
29
+
* If you want to skip this delay, feel free to [clear the cache in the wp-admin](http://localhost/wp-admin/admin.php?page=crowdsec_plugin).
30
30
31
31
The `DOCKER_HOST_IP` environnement variable is initialized via a call to:
* The [public home](http://localhost:8050/) now request you to fill a captcha.
61
+
* The [public home](http://localhost/) now request you to fill a captcha.
62
62
63
63
* Unless you manage to solve the captcha, you'll not be able to access the website.
64
64
@@ -71,7 +71,7 @@ With live mode, as you tried it just before, each time a user arrives to the web
71
71
72
72
To avoid this, LAPI offers a "stream" mode. The decisions list is updated at a predefined frequency and kept in cache. Let's try it!
73
73
74
-
> This bouncer uses the WordPress cron system. For demo purposes, we encourage you to [install the WP-Control plugin](http://localhost:8050/wp-admin/plugin-install.php?s=wp-control&tab=search&type=term), a plugin to view and control each Wordpress Cron task jobs.
74
+
> This bouncer uses the WordPress cron system. For demo purposes, we encourage you to [install the WP-Control plugin](http://localhost/wp-admin/plugin-install.php?s=wp-control&tab=search&type=term), a plugin to view and control each Wordpress Cron task jobs.
75
75
76
76
First, clear the previous decisions:
77
77
@@ -80,17 +80,17 @@ First, clear the previous decisions:
* Then enable "stream" mode [right here](http://localhost:8050/wp-admin/admin.php?page=crowdsec_advanced_settings) and set the resync frequency to 30 seconds. If you installed WP-Control plugin, you can see that a new cron tak has just been added here http://localhost:8050/wp-admin/tools.php?page=crontrol_admin_manage_page.
83
+
* Then enable "stream" mode [right here](http://localhost/wp-admin/admin.php?page=crowdsec_advanced_settings) and set the resync frequency to 30 seconds. If you installed WP-Control plugin, you can see that a new cron tak has just been added here http://localhost/wp-admin/tools.php?page=crontrol_admin_manage_page.
84
84
85
-
* As the whole blocklist has just been loaded in cache (0 decision!), your IP is allowed. The [public home](http://localhost:8050/) is available.
85
+
* As the whole blocklist has just been loaded in cache (0 decision!), your IP is allowed. The [public home](http://localhost/) is available.
> - IPv6 should be enable in your docker configuration. Enabled it following [this guide](https://docs.docker.com/config/daemon/ipv6/). (Note that you'll may have to create the file `/etc/docker/daemon.json`).
10
+
> - If your develop environnment is MacOS, please refer to the [MacOS host installation guide](macos-host.md).
9
11
10
12
## Install the stack for development purpose
11
13
@@ -37,7 +39,7 @@ Alternatively, you can install wordpress and the plugin manually with:
37
39
docker-compose up -d wordpress crowdsec mysql redis memcached
38
40
```
39
41
40
-
Then visit the wordpress instance here: http://localhost:8050 and install the wordpress instance.
42
+
Then visit the wordpress instance here: http://localhost and install the wordpress instance.
0 commit comments