Jump to content

WHMCS behind haproxy


NoDoze

Recommended Posts

/ web1 server

haproxy server--

\ web2 server

 

I have this setup for our WHMCS installation, a mirror website behind a haproxy server. I added the haproxy server to our Trusted Proxies entry so the IP is tracked correctly from the end user, however this is only working with one web server. As soon as I add the second server, I get an Invalid License warning because the roundrobin picks up the other web server's IP. Is there a way for WHMCS license to be bind to the haproxy server IP? Or do I need to buy a whmcs license for each web server, which isn't practical since the content is exactly the same. Has anyone run this kind of setup? I've contacted whmcs support but the tech only suggested to enter the proxy IP to the trusted proxy list, as I did. I don't think he understood the license issue. Any insight or help is appreciated! Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated