Search…

X3 Photo Gallery Support Forums

Search…
 
mad yetti
Topic Author
Posts: 4
Joined: 21 Aug 2018, 17:36

HA Proxy with SSL offload in front of imagevue

12 Mar 2025, 05:26

Hi! 

I'm trying to do SSL offload on HA Proxy (if does it for several webservers), however i'm struggling to get it running only with imagevue, getting "ERR_TOO_MANY_REDIRECTS". Fairly certain HAP config is correct (what it does is removes the SSL and then forwarding to correct backend based on the SNI).

Same config works flawlessly for all other front/backends.

Any idea what i might be missing? Or how to troubleshoot it?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14228
Joined: 30 Sep 2006, 03:37

Re: HA Proxy with SSL offload in front of imagevue

12 Mar 2025, 05:53

X3 doesn't really care of it's running from SSL or not. It will just run on the protocol that you assign in browser "http" or "https" (although in most cases, you will be redirecting from http to https). The only reason you might have "ERR_TOO_MANY_REDIRECTS" is if you for example have Settings > Advanced > Force Url, and this url diverges from your main url. There is no other mechanism in X3 that redirects.

If you have a link, please send to me PM or karl @ photo.gallery.
 
mad yetti
Topic Author
Posts: 4
Joined: 21 Aug 2018, 17:36

Re: HA Proxy with SSL offload in front of imagevue

18 Mar 2025, 14:29

Code
Settings > Advanced > Force Url,
thanks! That was the problem!