1

Use more generic regex for location match

This commit is contained in:
Jake Howard 2024-06-08 15:38:07 +01:00
parent 185546c333
commit 00e0ceaff0
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -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;
}