Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 746 Bytes
global
user haproxy
group haproxy
daemon
log /dev/log local0
log /dev/log local1 info
chroot /var/lib/haproxy
crt-base /etc/letsencrypt/live
lua-load /etc/haproxy/acme-http01-webroot.lua
defaults
log global
mode http
option httplog
timeout connect 5000
timeout client 50000
timeout server 50000
frontend http
bind *:80
mode http
acl url_acme_http01 path_beg /.well-known/acme-challenge/
http-request use-service lua.acme-http01 if METH_GET url_acme_http01
default_backend default
frontend https
bind *:443 ssl crt www.example.com/haproxy.pem
mode http
default_backend default
backend default
server server1 127.0.0.1:8002
You can’t perform that action at this time.