Skip to content

Commit

Permalink
nginx:cache static content
Browse files Browse the repository at this point in the history
  • Loading branch information
farooqpk committed Sep 20, 2024
1 parent 2d87add commit 1c70899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ server {
index index.html;

# Cache static files
location ~* \.(html|jpg|jpeg|png|webp|ico|css|js)$ {
location ~* \.(html|jpg|jpeg|png|webp|ico|css|js|mp3)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
Expand Down

0 comments on commit 1c70899

Please sign in to comment.