Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4723

Loadbalancing and encrypting Axios Assyst Jboss webserver with HAProxy - Help needed!

$
0
0

@Asthor wrote:

Hello guys,

i am using HAProxy to encrypt and load balance my two Axios Assyst Jboss webservers.

The main functions are working. HAProxy direkts with encryption to the Assyst Loginpage.

But after logging in, the page is just blank and i need to refresh the page to get Assyst fully loaded.

Page after login:

and after refresh:

I think there is an issue in directing the response from the webserver after logging in.
Does anyone had an similar experiance or idea to fix it?

Here is my config:

global
    log 127.0.0.1 local0
    chroot /var/log/haproxy
    pidfile /var/run/haproxy.pid
    maxconn 100000
    user haproxy
    group haproxy
    daemon

    stats socket /var/run/haproxy.sock mode 660 level admin

    # Default SSL material locations
    ca-base /etc/haproxy/cert
    crt-base /etc/haproxy/cert

defaults
    log     global
    mode    http
    option httplog
    option dontlognull
    option redispatch
    option accept-invalid-http-response
    option accept-invalid-http-request
    option http-server-close
    option forwardfor except 127.0.0.0/8
    retries                 3
    timeout http-request    10s
    timeout queue           1m
    timeout connect         10s
    timeout client          1m
    timeout server          1m
    timeout http-keep-alive 10s
    timeout check           10s
    maxconn                 100000

    stats enable
    stats hide-version
    stats refresh 30s
    stats show-node
    stats auth assyst:assyst
    stats uri  /haproxy?stats


frontend http_https
    mode http
    bind :443 ssl crt /etc/haproxy/cert/serverlb01.pem crt-ignore-err all
    bind :80

    http-request set-header X-Forwarded-Proto https if { ssl_fc }
    redirect scheme https if !{ ssl_fc }
    # option http-keep-alive
    default_backend assyst_prod_lb

backend assyst_prod_lb
    balance roundrobin
    cookie JSESSIONID prefix nocache
    server server1.domain.net 101.161.219.202:8080 cookie s1 check inter 5s
    server server2.domain.net 101.161.219.203:8080 cookie s2 check inter 5s

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4723

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>