add prosody reverse proxy

This commit is contained in:
Michael Rennecke
2019-06-20 22:21:55 +02:00
parent 63592456db
commit d751ed4027
2 changed files with 8 additions and 2 deletions

View File

@@ -33,9 +33,10 @@ defaults
option splice-auto
option forwardfor
# option forceclose
option socket-stats
no option http-use-htx
timeout http-request 20s
timeout connect 5s
timeout client 50s
@@ -54,7 +55,7 @@ defaults
frontend http
bind *:80 name http
bind *:443 name https ssl crt /etc/haproxy/certs/mail.0rpheus.net.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1 npn h2,http/1.1
bind *:443 name https ssl crt /etc/haproxy/certs/mail.0rpheus.net.pem crt /etc/haproxy/certs/ ecdhe secp384r1 alpn h2,http/1.1
compression algo gzip
compression type text/html text/plain text/javascript application/javascript application/xml text/css