Skip to content

Commit

Permalink
Update deployment.md (#2290)
Browse files Browse the repository at this point in the history
The location regex wasn't working for me…
  • Loading branch information
risen authored and gauravtiwari committed Nov 12, 2019
1 parent de25514 commit ec47091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ server {
deny all;
}
location ^~ /assets|packs/ {
location ~ ^/(assets|packs)/ {
gzip_static on;
brotli_static on; # Optional, see below
expires max;
Expand Down

0 comments on commit ec47091

Please sign in to comment.