mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Add cover image hash redirect.
This commit is contained in:
parent
67f5fe8b27
commit
8651a1f268
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ server {
|
||||||
rewrite ^/ebooks/([^\.]+?)/?$ /ebooks/ebook.php?url-path=$1;
|
rewrite ^/ebooks/([^\.]+?)/?$ /ebooks/ebook.php?url-path=$1;
|
||||||
rewrite ^/tags/([^\./]+?)/?$ /ebooks/index.php?tag=$1;
|
rewrite ^/tags/([^\./]+?)/?$ /ebooks/index.php?tag=$1;
|
||||||
rewrite ^/collections/([^\./]+?)/?$ /ebooks/index.php?collection=$1;
|
rewrite ^/collections/([^\./]+?)/?$ /ebooks/index.php?collection=$1;
|
||||||
|
rewrite ^/images/covers/([^\./]+?)-[0-9a-f]+-cover([^\./]+).jpg$ /images/covers/$1-cover$2.jpg;
|
||||||
|
rewrite ^/images/covers/([^\./]+?)-[0-9a-f]+-hero([^\./]+).jpg$ /images/covers/$1-hero$2.jpg;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue