mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
added expiry headers to nginx-docker #1485
This commit is contained in:
parent
a88d9c7986
commit
fdf3e3a333
@ -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";
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user