From 00e0ceaff005d1087bd422ab1ec2268f39244131 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 8 Jun 2024 15:38:07 +0100 Subject: [PATCH] Use more generic regex for location match --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 389e8aa..8eb9c84 100644 --- a/nginx.conf +++ b/nginx.conf @@ -36,7 +36,7 @@ server { return 302 https://theorangeone.net; } - location ~ ^/([0-9a-z]+)/.* { + location ~ ^/(.*?)/.* { # Custom 404 for each presentation error_page 403 404 =404 /$1/404.html; }