Skip to content

Commit 39b88b6

Browse files
committed
add documentaion for apache2 bouncer
1 parent 93d49b7 commit 39b88b6

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

crowdsec-docs/unversioned/bouncers/apache.mdx

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,27 +47,38 @@ At the back, this component uses `mod_proxy`, `mod_ssl` for requests to LAPI, an
4747

4848
:::warning
4949

50-
There is not yet publicly available packages or this Remediation Component.
50+
Packages are only available for debian like systems.
5151

52-
We are providing ways to build your own while we're working on packaging.
52+
THe module can be built and installed on other platform as well..
5353

5454
:::
5555

5656
Clone or download directly [from our GitHub repository](https://github.com/crowdsecurity/cs-apache2-bouncer).
5757

5858

5959
<Tabs
60-
defaultValue="nginx_debian"
60+
defaultValue="apache_debian"
6161
values={[
6262
{ label: 'Debian/Ubuntu', value: 'nginx_debian' ,},
6363
{ label: 'Others (build from source)', value: 'others' ,},
6464
]
6565
}>
66-
<TabItem value="nginx_debian">
66+
<TabItem value="apache_debian">
67+
68+
### Repository configuration
69+
70+
:::warning
71+
72+
Please note that the reposiroty for this package is not the same as the one holding CrowdSec's binary packages
6773

6874
```bash
69-
dpkg-buildpackage -us -uc
70-
sudo dpkg -i ../crowdsec-apache2-bouncer_1.0.0_amd64.deb
75+
curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash
76+
```
77+
78+
### Installation
79+
80+
```bash
81+
sudo apt-get install crowdsec-apache2-bouncer
7182
```
7283

7384
</TabItem>
@@ -87,10 +98,6 @@ sudo mkdir -p /etc/crowdsec/bouncers/
8798
sudo cp ./config/crowdsec-apache2-bouncer.conf /etc/crowdsec/bouncers/
8899
```
89100

90-
</TabItem>
91-
92-
</Tabs>
93-
94101
### Initial Configuration
95102

96103
Enable the mod_crowdsec module:
@@ -121,6 +128,11 @@ If needed, edit `CrowdsecURL` (and other parameters)
121128
sudo systemctl restart apache2
122129
```
123130

131+
</TabItem>
132+
133+
</Tabs>
134+
135+
124136
## Configuration directives
125137

126138
### `Crowdsec`

0 commit comments

Comments
 (0)