diff --git a/debian/marquee/nginx/sites/whatwg.org.conf b/debian/marquee/nginx/sites/whatwg.org.conf index 78911ed..488dd8d 100644 --- a/debian/marquee/nginx/sites/whatwg.org.conf +++ b/debian/marquee/nginx/sites/whatwg.org.conf @@ -86,7 +86,7 @@ server { return 301 https://whatwg.org/; } location ~ ^/images(/(.*))?$ { - return 301 https://images.whatwg.org/$2; + return 302 https://images.whatwg.org/$2; } location = /link-fixup.js { return 301 https://html.spec.whatwg.org/multipage/link-fixup.js; diff --git a/test/redirects.js b/test/redirects.js index b2194f5..45d2c14 100644 --- a/test/redirects.js +++ b/test/redirects.js @@ -127,8 +127,8 @@ const HTTPS_TESTS = [ ['https://whatwg.org/google2569a0eb653e4cf1.html', 301, 'https://whatwg.org/'], ['https://whatwg.org/html', 301, 'https://html.spec.whatwg.org/multipage/', 'keep'], ['https://whatwg.org/html5', 301, 'https://html.spec.whatwg.org/multipage/', 'keep'], - ['https://whatwg.org/images', 301, 'https://images.whatwg.org/'], - ['https://whatwg.org/images/', 301, 'https://images.whatwg.org/', 'keep'], + ['https://whatwg.org/images', 302, 'https://images.whatwg.org/'], + ['https://whatwg.org/images/', 302, 'https://images.whatwg.org/', 'keep'], ['https://whatwg.org/issues', 410], ['https://whatwg.org/j', 301, 'https://javascript.spec.whatwg.org/'], ['https://whatwg.org/javascript', 301, 'https://javascript.spec.whatwg.org/'],