Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

HTTPS to HTTP reverse proxy (1 reply)

$
0
0
I am publishing horde webmail application. The horde itself is served
internally via http protocol on apache. Please, see the configuration,
below. The issue seems to be with css and image files as formatting is out
wack. Please note, accessing the http site from intranet works.

global
log 127.0.0.1 local0 debug
tune.ssl.default-dh-param 2048
maxconn 4096
user proxy
group proxy
daemon
#debug
#quiet

defaults
log global
mode http
option forwardfor
option httplog
option dontlognull
option redispatch
option http-server-close
retries 3
maxconn 2000
timeout connect 5000
timeout client 50000
timeout server 50000

frontend farm_test_ssl
mode http
bind 0.0.0.0:443 ssl crt /etc/ssl/certs/cs.pem crt
/etc/ssl/certs/remote.pem
use_backend bk_cs_cert if { ssl_fc_sni cs.localdom.com } # content
switching based on SNI
use_backend bk_remote_cert if { ssl_fc_sni remote.localdom.com } #
content switching based on SNI

backend bk_cs_cert
mode http
server cs 192.168.8.108:80 check ssl verify none

backend bk_remote_cert
mode http
server remail 192.168.8.166:80 check ssl verify none

Viewing all articles
Browse latest Browse all 5112

Trending Articles