From 667c2e7b1b5cc4f2e8696dc29f3ea91291f04e1d Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Mon, 2 Feb 2026 13:45:53 -0600 Subject: [PATCH] Add PFE redirects for classrooms projects --- nginx-special-redirects.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/nginx-special-redirects.conf b/nginx-special-redirects.conf index 23dfebf..e1a758c 100644 --- a/nginx-special-redirects.conf +++ b/nginx-special-redirects.conf @@ -230,6 +230,14 @@ location ~* ^/projects/(?:[\w-]*?/)?mikewalmsley/galaxy-zoo-mobile/?(?:(classify include /etc/nginx/az-proxy-headers.conf; } +location ~* ^/projects/(?:[\w-]*?/)?mollysimon/galaxy-zoo-crowdsourcing-activity/?(?:(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-]*?/)?msbrhonclif/science-scribbler-key2cat/?(?:(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; @@ -526,6 +534,14 @@ location ~* ^/projects/(?:[\w-]*?/)?zooniverse/higgs-hunters/?(?:(classify|about include /etc/nginx/az-proxy-headers.conf; } +location ~* ^/projects/(?:[\w-]*?/)?zooniverse/intro2astro-hubbles-law/?(?:(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-]*?/)?zooniverse/measuring-the-anzacs-original/?(?:(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; @@ -653,3 +669,11 @@ location ~* ^/projects/(?:[\w-]*?/)?zooniverse/worm-watch-lab/?(?:(classify|abou proxy_pass https://zooniversestatic.z13.web.core.windows.net/$proxy_path/; include /etc/nginx/az-proxy-headers.conf; } + +location ~* ^/projects/(?:[\w-]*?/)?zooniverse/zooniverse-in-schools/?(?:(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; +}