+++ This bug was initially created as a clone of Bug #59926 +++
lighttpd redirects URLs of directories without a trailing slash from https to http, i. e.:
[tim@passepartout ~]$ curl -I https://tools.wmflabs.org/matthewrbowker/cnrd |
HTTP/1.1 301 Moved Permanently |
Server: nginx/1.5.0 |
Date: Tue, 29 Apr 2014 22:07:20 GMT |
Connection: keep-alive |
Location: http://tools.wmflabs.org/matthewrbowker/cnrd/ |
[tim@passepartout ~]$ |
So we'll need to teach lighttpd about https (or rewrite redirects in nginx?). From bug #59926, comment #8:
[...] The proxy provides an X-FORWARDED-PROTO header which can
be used by the application to construct URIs if it really must redirect
between protocols.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53689