From 1a5f6cc5a4d64688e9225567fc4403199b207281 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Mon, 17 Jun 2024 13:23:45 -0500 Subject: [PATCH 1/2] Add FEM redirect for Newark Digital Archive --- nginx-fem-redirects.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nginx-fem-redirects.conf b/nginx-fem-redirects.conf index 1e51e69..8e10c9a 100644 --- a/nginx-fem-redirects.conf +++ b/nginx-fem-redirects.conf @@ -390,3 +390,11 @@ location ~* ^/projects/(?:[\w-]*?/)?safmcadmin/fishstory/?(?:(classify|about)(?: include /etc/nginx/proxy-security-headers.conf; } + +location ~* ^/projects/(?:[\w-]*?/)?bethzc/newark-digital-archive/?(?:(classify|about)(?:/.+?)?)?/?$ { + resolver 1.1.1.1; + proxy_pass $fe_project_uri; + proxy_set_header Host $fe_project_host; + + include /etc/nginx/proxy-security-headers.conf; +} \ No newline at end of file From 3f1db4d8ed702b33d9e3428e4766acd86c3855f7 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Mon, 17 Jun 2024 13:27:31 -0500 Subject: [PATCH 2/2] newline --- nginx-fem-redirects.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-fem-redirects.conf b/nginx-fem-redirects.conf index 8e10c9a..d920809 100644 --- a/nginx-fem-redirects.conf +++ b/nginx-fem-redirects.conf @@ -397,4 +397,4 @@ location ~* ^/projects/(?:[\w-]*?/)?bethzc/newark-digital-archive/?(?:(classify| proxy_set_header Host $fe_project_host; include /etc/nginx/proxy-security-headers.conf; -} \ No newline at end of file +}