...
 
Commits (2)
...@@ -93,15 +93,12 @@ To generate certificates, see [this guide](certbot.md#http-used-by-haproxy-examp ...@@ -93,15 +93,12 @@ To generate certificates, see [this guide](certbot.md#http-used-by-haproxy-examp
## User-Agent Blocklist ## User-Agent Blocklist
* [Repository](https://git.lelux.fi/theel0ja/useragent-blocklist)<br> * [Repository](https://gitlab.lelux.fi/useragent-blocklist/useragent-blocklist)
Mirrors:
* [gitlab.com](https://gitlab.com/theel0ja/useragent-blocklist)
* [github.com](https://github.com/theel0ja/useragent-blocklist)
```bash ```bash
sudo mkdir -p /etc/haproxy/useragent-blocklist/ sudo mkdir -p /etc/haproxy/useragent-blocklist/
sudo chown -R $USER:$USER /etc/haproxy/useragent-blocklist/ sudo chown -R $USER:$USER /etc/haproxy/useragent-blocklist/
git clone https://git.lelux.fi/theel0ja/useragent-blocklist /etc/haproxy/useragent-blocklist/ git clone https://gitlab.lelux.fi/useragent-blocklist/useragent-blocklist.git /etc/haproxy/useragent-blocklist/
``` ```
### Haproxy configuration for HTTPS ### Haproxy configuration for HTTPS
......
...@@ -15,7 +15,7 @@ cd /etc/nginx/snippets ...@@ -15,7 +15,7 @@ cd /etc/nginx/snippets
sudo mkdir useragent-blocklist sudo mkdir useragent-blocklist
sudo chown -R $USER:$USER useragent-blocklist sudo chown -R $USER:$USER useragent-blocklist
cd useragent-blocklist cd useragent-blocklist
git clone https://git.lelux.fi/theel0ja/useragent-blocklist.git . git clone https://gitlab.lelux.fi/useragent-blocklist/useragent-blocklist.git .
cd .. cd ..
``` ```
......