diff --git a/nginx-special-redirects.conf b/nginx-special-redirects.conf index fd18eb7..23dfebf 100644 --- a/nginx-special-redirects.conf +++ b/nginx-special-redirects.conf @@ -102,6 +102,14 @@ location ~* ^/projects/(?:[\w-]*?/)?hugo-ferreira/where-is-spoony/?(?:(classify| include /etc/nginx/az-proxy-headers.conf; } +location ~* ^/projects/(?:[\w-]*?/)?icecubeobservatory/name-that-neutrino/?(?:(classify|about)(?:/.+?)?)?/?$ { + rewrite (?i)\.(jp(e)?g|gif|png|svg|ico|txt|mp(3|4)|webm|og(a|g|m|v|x)|spx|opus|pdf|ttf|tar|gz|tgz|bz2|tbz2|zip)$ https://static.zooniverse.org/$proxy_path$request_uri; + + resolver 1.1.1.1; + proxy_pass https://zooniversestatic.z13.web.core.windows.net/$proxy_path/; + include /etc/nginx/az-proxy-headers.conf; +} + location ~* ^/projects/(?:[\w-]*?/)?judaicadh/scribes-of-the-cairo-geniza/?(?:(classify|about)(?:/.+?)?)?/?$ { rewrite (?i)\.(jp(e)?g|gif|png|svg|ico|txt|mp(3|4)|webm|og(a|g|m|v|x)|spx|opus|pdf|ttf|tar|gz|tgz|bz2|tbz2|zip)$ https://static.zooniverse.org/$proxy_path$request_uri;