Re: Problem with mixed content http https and haproxy
Hi, I have found that the problem only occurs when you use a CMS like Drupal and Wordpress, I found the solution force both to use https, in the case of Drupal editing sites/default/settings.php uncomment the line: $base_url = 'https://domain_name_blablabla'; In the case of Wordpress it's necessary to install Wordpress HTTPS (SSL) plugin https://wordpress.org/plugins/wordpress-https/ El 12/02/15 a las 16:44, Andres Rojas Guerrero escribió: Yes, on the other hand I have observed that only blocks javascript and css content. El 12/02/15 a las 16:16, Lukas Tribus escribió: When I try to connect through haproxy ssl, the browser (Firefox and Chrome) block the contect mixed, in theses cases the http conections, this not happend when I try to connect without the haproxy. What can be the problem? Your application using hard links with the http:// prefix. Lukas -- *** Andrés Rojas Guerrero Dpto. Sistemas Secretaría General Adjunta de Informática Consejo Superior de Investigaciones Científicas (CSIC) Tel: +34 915680059 -- Ext. 990059 email: a.ro...@csic.es ***
Problem with mixed content http https and haproxy
Hi, I have a problem with haproxy and the mixed content. I have installed a haproxy version 1.5.11 haproxy -v HA-Proxy version 1.5.11 2015/01/31 Copyright 2000-2015 Willy Tarreau w...@1wt.eu with this configuration: * global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 4000 userhaproxy group haproxy stats timeout 30s debug daemon # turn on stats unix socket stats socket /var/lib/haproxy/admin.sock mode 660 level admin # Default SSL material locations ca-base /etc/ssl/certs crt-base /etc/ssl/private # Default ciphers to use on SSL-enabled listening sockets. # For more information, see ciphers(1SSL). ssl-default-bind-ciphers kEECDH+aRSA+AES:kRSA+AES:+AES256:RC4-SHA:!kEDH:!LOW:!EXP:!MD5:!aNULL:!eNULL defaults log global modehttp option httplog option dontlognull timeout connect 5000 timeout client 5 timeout server 5 frontend webphp53_http bind *:80 bind *:443 ssl crt /etc/ssl/private/cert.pem mode http default_backend webphp53_servers backend webphp53_servers mode http balance roundrobin option forwardfor http-request set-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto https if { ssl_fc } option httpchk HEAD / HTTP/1.1\r\nHost:localhost server php53_node1 192.168.127.67:80 check server php53_node2 192.168.127.68:80 check ** When I try to connect through haproxy ssl, the browser (Firefox and Chrome) block the contect mixed, in theses cases the http conections, this not happend when I try to connect without the haproxy. What can be the problem? Thank you in advance.
Re: Problem with mixed content http https and haproxy
Yes, on the other hand I have observed that only blocks javascript and css content. El 12/02/15 a las 16:16, Lukas Tribus escribió: When I try to connect through haproxy ssl, the browser (Firefox and Chrome) block the contect mixed, in theses cases the http conections, this not happend when I try to connect without the haproxy. What can be the problem? Your application using hard links with the http:// prefix. Lukas