https://bugzilla.wikimedia.org/show_bug.cgi?id=64627
Bug ID: 64627
Summary: lighttpd redirects URLs of directories without a
trailing slash from https to http
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
+++ 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l