[wp-meta] [Making WordPress.org] #619: Add Content-MD5 headers to downloads
Making WordPress.org
noreply at wordpress.org
Sun Sep 28 19:06:06 UTC 2014
#619: Add Content-MD5 headers to downloads
--------------------------+---------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Component: General
Resolution: | Keywords:
--------------------------+---------------------
Comment (by dd32):
Replying to [comment:1 Otto42]:
> I know little to nothing about how our particular nginx config is setup,
but:
>
> https://stackoverflow.com/questions/24507157/adding-custom-http-headers-
to-nginx-x-accel-redirect
>
> `add_header Content-MD5 $upstream_http_content_md5;`
>
That does what's needed in our setup, Once upon a time it required some
pretty nasty hacky location blocks (basically double proxying the x-accel-
redirect) in order to work, but not no more.
IIRC we didn't enable this on downloads.wordpress.org due to concern over
the error message in core when the checksum would fail.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/619#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list