Monitor Load Balancing on HTTPS

  • Hello,

    I've got an architecture such as this :
                        NGINX 1
                    \    NGINX 2

    NGINX1 and NGINX2 are listening both on 80 and 443. Port 80 redirects automatically on 443 with :

    server {
            listen 80;
            location / {
    	rewrite ^ https://$server_name$request_uri? permanent;

    I defined 4 load balancing pools :

    And 2 virtual servers :
    HTTP, which uses NGINX1_HTTP as master and NGINX2_HTTP as failover and listen on port 80
    HTTPS, which uses NGINX1_HTTPS as master and NGINX2_HTTPS as failover and listen on port 443

    My question is : how can i set pfsense to monitor https on my load balancing pools ?

    It works great for http but since my local IP and the URL of my certificate are not the same, I think pfsense see my two HTTPS as down.

    curl from pfsense says :

    curl: (51) SSL: no alternative certificate subject name matches target host name ''

    Maybe there is something smarter to do for the whole pfsense conf ?


Log in to reply