mirror of
https://github.com/plausible/hosting.git
synced 2024-11-17 05:15:57 -06:00
Update README.md
add modsecurity for apache
This commit is contained in:
parent
c85633423b
commit
fc3da2d9b7
@ -46,7 +46,7 @@ $ sudo systemctl restart apache2
|
||||
$ sudo certbot --apache
|
||||
```
|
||||
#### Apache2 Modsecurity
|
||||
Modsecurity block with CRS the "plain/text" used by Plausible and ".com" in headers so if you use Modsecurity as a Waff to your Apache2 configuration you will need to add some custom rules in order to not block Plausible. Here are some rules, feel free to adapt to your specific case:
|
||||
Modsecurity block with CRS the `plain/text` used by Plausible and `.com` in headers so if you use Modsecurity as a Waff to your Apache2 configuration you will need to add some custom rules in order to not block Plausible. Here are some rules, feel free to adapt to your specific case:
|
||||
|
||||
```shell
|
||||
# Autoriser text/plain pour la route /api/event
|
||||
|
Loading…
Reference in New Issue
Block a user