Skip to content

Commit

Permalink
Merge pull request #6 from ppy/preserve-upstream-cache-control
Browse files Browse the repository at this point in the history
✨ Preserve upstream Cache-Control headers
  • Loading branch information
peppy authored Dec 27, 2024
2 parents 9925275 + e81c238 commit a86cd50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ ${vhostCacheNginx}
${virtualHost.forceImageMimeType ? 'add_header Content-Type $image_type always;' : ''}
add_header Cache-Control $upstream_http_cache_control;
add_header Cache-Control public;
expires ${vhostCache["200"] ? vhostCache["200"] : vhostCache.any};
Expand Down

0 comments on commit a86cd50

Please sign in to comment.