Verified Commit 3e19e9ad authored by Elias Ojala's avatar Elias Ojala
Browse files

IPv6

parent 105f82ea
......@@ -49,7 +49,7 @@ defaults
```
# HTTP (port 80)
frontend http-in
bind *:80
bind :::80
reqadd X-Forwarded-Proto:\ http
use_backend letsencrypt if { path_beg -i /.well-known/acme-challenge }
......@@ -109,7 +109,7 @@ git clone https://git.lelux.fi/theel0ja/useragent-blocklist /etc/haproxy/userage
```haproxy
# HTTPS (port 443)
frontend https-in
bind *:443 ssl crt /etc/haproxy/certs/ alpn h2,http/1.1
bind :::443 ssl crt /etc/haproxy/certs/ alpn h2,http/1.1
reqadd X-Forwarded-Proto:\ https
http-response set-header Strict-Transport-Security max-age=15768000
......
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