>> All documentation I could find about gunicorn is heavily tied to nginx,
>> so perhaps apache is setting different X-Forward* Headers I might
>> emulate with RequestHeader set ...?
> 
> Indeed.  Ideally you will want the Host header to give the
> publicly-visible hostname (it looks like apache is putting this in
> X-Forwarded-Host) and the X-Forwarded-Proto header to be "https".

Already tried that, but seems like I cannot set the Host: header. I can
add additional headers, though, so emulating what nginx sets should be
possible - if I knew what that is.

> It doesn't look like gunicorn has support for any of the headers being
> sent by apache.
Going that way, the question would be: Teach gunicorn, or teach the
syncserver code?

  Jonathan
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to