Guten Tag JJ,
am Mittwoch, 1. März 2017 um 19:05 schrieben Sie:
> So, one apache server in one docker container, is the proxy & in another
> container, Bugzilla is run under Apache (hopefully this makes sense).
I don't see how this makes sense. What is the benefit you are
expecting from such setup? It's obviously not working already and
makes things unnecessary complex in my opinion.
httpd as a reverse proxy in most cases is used to handle TLS and cover
things like internal Java application servers like Tomcat. But why
would you want to hide Bugzilla with its own httpd instance behind
another httpd?
Who are you expecting to handle things like TLS? If it's the reverse
proxy, it acts like a MITM and you simply wouldn't need any TLS for
Bugzilla. Depending on how you setup your two httpd instances, you
couldn't even use it at all and see exactly the problem you have
currently: Your reverse proxy terminates TLS and forwards plain HTTP
to Bugzilla which is configured to use HTTPS, so sends a redirect,
which your reverse proxy forwards to your client, which your client
processes and sends another request to your reverse proxy, which
terminates TLS again and forwards HTTP to your Bugzilla, which... :-)
If the reverse is fully transparent and TLS is actually handled by the
Bugzilla container, your reverse proxy only sees encrypted content and
is of no use at all. So why not remove it entirely and publish only
one httpd?
> It is now configured below.
Maybe I'm understanding you wrong, but providing the configuration for
one httpd instance if you use two is insufficient and exactly what I
mean with unnecessary complex.
> With this configuration, I can successfully
> access both SSL & non-SSL sites *when "ssl_redirect" is disabled &
> "sslbase" is blank. So, it would seem configuration of proxy & bugzilla
> apache server is correct(?).
I'm not using a reverse proxy setup like I understand yours, but I
think your assumption is wrong and instead proves what I'm saying:
From my understanding, without "sslbase" Bugzilla is never using
HTTPS, because either urlbase or sslbase are rendered in the
templates, mails and such. So if you are able to access Bugzilla using
HTTPS, it's pretty much because your reverse proxy terminates TLS and
forwards HTTP to Bugzilla, which simply works with your setup.
If you enable ssl_redirect and sslbase, you get the loop your are
seeing and I explained above. Make perfect sense to me, so get rid of
your reverse proxy and focus on one httpd instance and publish that.
Mit freundlichen Grüßen,
Thorsten Schöning