No, X- headers should be translated by RPAF, not read by SS
The PHP end of the stack should not worry about those headers, the server in front of PHP should
SS needs to know if it’s on HTTPS or not, right?
so that's what's going wrong. The server does not properly tell PHP it's on https
anyway… we’ve encountered the same issue with Josh and yes, it can be fixed by the proxy config update
ping me in a week or two @Josh, I’ll have a look at it
@josh has joined the channel
Hello, we have similar setup, SSL connection to Nginx reverse-proxy and then HTTP connection to Apache server. All projects configured with (SS3) Director.alternate_protocol = 'https' to generate proper links. SS4 simplified configuration and all you need is to set SS_BASE_URL to external url.
@MichalKleiner docker nginx-proxy has 2 modes how to forward connection. default is to connect with http.
Thanks @MichalKleiner, good to see it wasn’t just me having issues. RPAF has done the trick for now, so I’ve incorporated it into the Apache Dockerfile for the meantime.