From 565fa9fc32109c2f235a448e4160b9863ce7c567 Mon Sep 17 00:00:00 2001
From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
Date: Mon, 29 Jul 2024 22:49:32 +1000
Subject: [PATCH] Expose history archive on `/archive` (#623)

---
 local/nginx/etc/conf.d/history-archive.conf | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 local/nginx/etc/conf.d/history-archive.conf

diff --git a/local/nginx/etc/conf.d/history-archive.conf b/local/nginx/etc/conf.d/history-archive.conf
new file mode 100644
index 000000000..736d61ff2
--- /dev/null
+++ b/local/nginx/etc/conf.d/history-archive.conf
@@ -0,0 +1,5 @@
+location /archive {
+        rewrite /archive/(.*) /$1 break;
+        proxy_pass http://127.0.0.1:1570;
+        proxy_redirect off;
+}