diff --git a/nginx-special-redirects.conf b/nginx-special-redirects.conf index affc585..bd3f081 100644 --- a/nginx-special-redirects.conf +++ b/nginx-special-redirects.conf @@ -54,6 +54,14 @@ location ~* ^/projects/(?:[\w-]*?/)?cmnbotany/notes-from-nature-capture-the-coll include /etc/nginx/az-proxy-headers.conf; } +location ~* ^/projects/(?:[\w-]*?/)?ceaeay/seabird-sounds/?(?:(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-]*?/)?creisdorf/fire-and-birds/?(?:(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;