You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that ESI proccessor is trying to use ssl handshake even if config.upstream_use_ssl is set to false, so I already fixed that in code (see attachment) ;)
Hmmm, It's actually little more complicated than that.
ESIs could be to an external server which does require HTTPS, so just disabling the handshake when our current upstream does not use SSL isn't correct.
We loopback ESIs with the same domain as the current request to the same IP and port as the current request was received on, the assumption being if we are handling a request for a domain then we can handle the ESI for that domain too.
Perhaps this optimisation should be configurable, allowing it to be disabled or the behaviour controlled to allow scenarios like yours to work
Also I think there's probably another bug here whereby a page on HTTP or HTTPS that has an ESI for the same domain but a different scheme is going to attempt to loopback to the wrong port.
I'm trying to use offloaded SSL traffic with ESI. Handler config:
While trying to use ESI I've got error:
I found that ESI proccessor is trying to use ssl handshake even if
config.upstream_use_ssl
is set tofalse
, so I already fixed that in code (see attachment) ;)esi_ssl_offload.diff.txt
The text was updated successfully, but these errors were encountered: