add prosody reverse proxy
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user