added expiry headers to nginx-docker #1485

This commit is contained in:
Matthias 2021-04-20 18:45:59 +02:00
parent a88d9c7986
commit fdf3e3a333

View File

@ -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";
}
}