Skip to content

Commit

Permalink
Merge pull request #109 from go-park-mail-ru/NM-107
Browse files Browse the repository at this point in the history
change nginx cache max age
  • Loading branch information
daronenko authored Dec 17, 2024
2 parents 116d1bb + e04518c commit 674ec09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/nginx/dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ http {

location /storage/ {
proxy_pass http://novamusic-minio:9000/;
add_header Cache-Control "public, max-age=86400";
add_header Cache-Control "public, max-age=3600";
add_header X-Content-Type-Options nosniff;
}

Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ http {

location /storage/ {
proxy_pass https://novamusic-minio:9000/;
add_header Cache-Control "public, max-age=86400";
add_header Cache-Control "public, max-age=3600";
add_header X-Content-Type-Options nosniff;
}

Expand Down

0 comments on commit 674ec09

Please sign in to comment.