Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
The fingerprint hash is alphanumeric but the nginx regex tests for a numeric string.
  • Loading branch information
philipmarnef committed Jul 3, 2020
1 parent d382325 commit 15b770a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -108,7 +108,7 @@ RewriteRule ^(.+)\.([0-9a-z]{32})\.(js|css)$ $1.$3 [L]
**Nginx virtual host setup**
```
location ~ (.+)\.(?:\d+)\.(js|css)$ {
location ~ (.+)\.(?:\w+)\.(js|css)$ {
try_files $uri $1.$2;
}
```
Expand Down

0 comments on commit 15b770a

Please sign in to comment.