Forum Discussion

MA's avatar
MA
Icon for Nimbostratus rankNimbostratus
Feb 25, 2020

F5 Request URL Issue

Hello!

I setup F5 load balancer with SSL offloading for a Drupal site on three web servers.

The problem is if the file is https, the request url use the public ip, which is what I want. But if the file is http, the request url use one of the nodes LAN IP, which can't be accessed publicly!

 

What could be the reason??

 

Appreciate your help.

2 Replies

  •  

    Hi MA,

    I think the link to the file is an absolute path.

    If so, my advice is to replace it with a relative path.

     

    If you cannot replace it, other solutions can be found.

     

    I hope I have helped you.

  • MA's avatar
    MA
    Icon for Nimbostratus rankNimbostratus

    Hi Angelo,

    Thank you for your reply.

    No the links are not absolute path. I think the issue was I didn't enable Drupal reverse proxy settings.

    $settings['reverse_proxy'] = TRUE;

    After enabling above and related settings, it seems to work fine.