Use more generic regex for location match
This commit is contained in:
parent
185546c333
commit
00e0ceaff0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue