Skip to content

Commit

Permalink
Update iiif regex in nginx.conf to ensure pattern at start of uri
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Feb 23, 2024
1 parent a203382 commit 02a0710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ http {
# path for static files
root /code;

location ~ /iiif(/2)?(.*) {
location ~ ^/iiif(/2)?(.*) {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
Expand Down

0 comments on commit 02a0710

Please sign in to comment.