Verified Commit 381c834d authored by Elias Ojala's avatar Elias Ojala
Browse files

Updates

parent f42628d7
......@@ -25,6 +25,7 @@ forward-zone:
forward-tls-upstream: yes
forward-addr: 91.239.100.100@853#anycast.censurfridns.dk
forward-addr: 185.95.218.42@853#dns.digitale-gesellschaft.ch
forward-addr: 146.185.167.43@853#dot.securedns.eu
```
......
......@@ -3,7 +3,7 @@ title: HAProxy
permalink: /haproxy/
---
**Install `haproxy` from `stretch-backports`, or you'll encounter problems.**
**Install `haproxy` from `stretch-backports`, or you may encounter problems.**
## Base configuration
......@@ -147,9 +147,9 @@ curl https://YOUR_SERVER/robots.txt --header "User-Agent: YisouSpider" -I
## Nginx backends
nginx `1.10.3-1+deb9u2` from [stretch](https://packages.debian.org/stretch/nginx) doesn't seem to work. Please use `1.14.1-1~bpo9+1` from [stretch-backports](https://packages.debian.org/stretch-backports/nginx).
**Notice to Debian 9 (stretch) users**: nginx `1.10.3-1+deb9u2` from [stretch](https://packages.debian.org/stretch/nginx) doesn't seem to work. Please use `1.14.1-1~bpo9+1` from [stretch-backports](https://packages.debian.org/stretch-backports/nginx).
### haproxy.cfg
### `/etc/haproxy/haproxy.cfg`
```
frontend https-in
......@@ -179,6 +179,8 @@ server {
# Add index.php to the list if you are using PHP
index index.html;
# include /etc/nginx/snippets/useragent-blocklist/nginx.conf
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
......
......@@ -3,7 +3,8 @@ title: Nginx
permalink: /nginx
---
Most of the configuration can be found from [Certbot](/certbot) page.
Most of the configuration can be found from [Certbot](certbot.md) page.
## Useragent Blocklist
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment