mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-03 17:05:18 +00:00
added expiry headers to nginx-docker #1485
This commit is contained in:
1 parent
a88d9c7986
commit
fdf3e3a333
1 file changed
+5
@@ -27,6 +27,11 @@ server {
|
||||
location /static/ {
|
||||
alias /var/www/static/;
|
||||
autoindex on;
|
||||
|
||||
# Caching settings
|
||||
expires 30d;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user