Skip to content

Commit

Permalink
Make assets cache public in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
haishanh committed Mar 11, 2023
1 parent cd64985 commit 0b254f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/nginx-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ server {
location ~ assets\/.*\.(?:css|js|woff2?|svg|gif|map)$ {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
add_header Cache-Control "max-age=31536000";
add_header Cache-Control "public, max-age=31536000, immutable";
# access_log off;
}

Expand Down

0 comments on commit 0b254f1

Please sign in to comment.