Skip to content

Commit

Permalink
✨ Preserve upstream Cache-Control headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePooN committed Dec 26, 2024
1 parent 9925275 commit e81c238
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 e81c238

Please sign in to comment.